Skipping non-rel source roots, as nbinst source roots may be listed in segments, but URLs for them cannot be constructed in the web frontend
authorJan Lahoda <jlahoda@netbeans.org>
Thu, 07 Jul 2011 20:12:38 +0200
changeset 629440493068844
parent 628 4a07e0580a2a
child 630 13aaba05893e
Skipping non-rel source roots, as nbinst source roots may be listed in segments, but URLs for them cannot be constructed in the web frontend
remoting/server/web/base.web.api/src/org/netbeans/modules/jackpot30/backend/base/CategoryStorage.java
     1.1 --- a/remoting/server/web/base.web.api/src/org/netbeans/modules/jackpot30/backend/base/CategoryStorage.java	Thu Jul 07 20:11:36 2011 +0200
     1.2 +++ b/remoting/server/web/base.web.api/src/org/netbeans/modules/jackpot30/backend/base/CategoryStorage.java	Thu Jul 07 20:12:38 2011 +0200
     1.3 @@ -147,6 +147,7 @@
     1.4              Map<String, String> invertedSegments = (Map<String, String>) invertedSegmentsField.get(null);
     1.5  
     1.6              for (String c : invertedSegments.keySet()) {
     1.7 +                if (!c.startsWith("rel:")) continue;
     1.8                  result.add(new URL(c));
     1.9              }
    1.10