gwt code server run on module A.

A inherits module B.
        Our current file belongs to module B.

        So, actual:
        http://localhost:9876/sourcemaps/A/com/jetbrains/upsource/frontend/application/client/views/feedView/FeedView.java

        expected:
        http://localhost:9876/sourcemaps/B/com/jetbrains/upsource/frontend/application/client/views/feedView/FeedView.java

        So, we must handle this case, not only library classes
This commit is contained in:
Vladimir Krivosheev
2014-02-07 18:03:14 +01:00
parent 708466048e
commit 94f05f9d77
@@ -132,7 +132,6 @@ public final class Urls {
Matcher matcher = URI_PATTERN.matcher(urlToParse);
if (!matcher.matches()) {
LOG.warn("Cannot parse url " + url);
return null;
}
String scheme = matcher.group(1);