[hg] main-silver: correct public package processing

  • From: Milos Kleint < >
  • To: ,
  • Subject: [hg] main-silver: correct public package processing
  • Date: Fri, 01 Feb 2013 13:38:00 -0800

changeset 8c50fbee5c34 in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/8c50fbee5c34
description:
        correct public package processing

diffstat:

 
maven.apisupport/src/org/netbeans/modules/maven/apisupport/MavenWhiteListQueryImpl.java
 |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (26 lines):

diff --git 
a/maven.apisupport/src/org/netbeans/modules/maven/apisupport/MavenWhiteListQueryImpl.java
 
b/maven.apisupport/src/org/netbeans/modules/maven/apisupport/MavenWhiteListQueryImpl.java
--- 
a/maven.apisupport/src/org/netbeans/modules/maven/apisupport/MavenWhiteListQueryImpl.java
+++ 
b/maven.apisupport/src/org/netbeans/modules/maven/apisupport/MavenWhiteListQueryImpl.java
@@ -292,7 +292,6 @@
         synchronized (results) {
             set = new HashSet(results);
         }
-        System.out.println("fire to " + set.size());
         RP.post(new Runnable() {
             @Override
             public void run() {
@@ -463,10 +462,10 @@
                 //no public packages.
             } else {
                 for (String pub : publicPackages) {
-                    if (pub.endsWith(".*")) {
-                        subPublic.add(pub.substring(0, pub.length() - 
".*".length()));
-                    } else {
-                        eqPublic.add(pub);
+                    if (pub.endsWith(".**")) {
+                        subPublic.add(pub.substring(0, pub.length() - 
".**".length()));
+                    } else if (pub.endsWith(".*")) {
+                        eqPublic.add(pub.substring(0, pub.length() - 
".*".length()));
                     }
                 }
             }

[hg] main-silver: correct public package processing

Milos Kleint 02/01/2013

Project Features

About this Project

APIsupport was started in November 2009, is owned by Antonin Nebuzelsky, and has 43 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close