[hg] main-silver: fix temporary condition

  • From: Milos Kleint < >
  • To: ,
  • Subject: [hg] main-silver: fix temporary condition
  • Date: Fri, 01 Feb 2013 04:29:06 -0800

changeset 2ab92faeb5c2 in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/2ab92faeb5c2
description:
        fix temporary condition

diffstat:

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

diffs (12 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
@@ -126,7 +126,7 @@
         assert mvn != null;
         MavenProject mp = mvn.getMavenProject();
         //TODO remove the check
-        if (mp.getProperties() == null && 
mp.getProperties().getProperty("enable.whitelist") == null) {
+        if (mp.getProperties() == null || (mp.getProperties() != null && 
mp.getProperties().getProperty("enable.whitelist") == null)) {
             //a temporary thing to enable the whitelists for 
experimentation..
             return null;
         }

[hg] main-silver: fix temporary condition

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