You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-commits@incubator.apache.org by xa...@apache.org on 2007/03/09 10:24:18 UTC
svn commit: r516353 -
/incubator/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyReport.java
Author: xavier
Date: Fri Mar 9 02:24:16 2007
New Revision: 516353
URL: http://svn.apache.org/viewvc?view=rev&rev=516353
Log:
FIX: NPE when report is called without conf while no resolve has been done
Modified:
incubator/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyReport.java
Modified: incubator/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyReport.java
URL: http://svn.apache.org/viewvc/incubator/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyReport.java?view=diff&rev=516353&r1=516352&r2=516353
==============================================================================
--- incubator/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyReport.java (original)
+++ incubator/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyReport.java Fri Mar 9 02:24:16 2007
@@ -129,7 +129,7 @@
_cache = settings.getDefaultCache();
}
_conf = getProperty(_conf, settings, "ivy.resolved.configurations", _resolveId);
- if (_conf.equals("*")) {
+ if ("*".equals(_conf)) {
_conf = getProperty(settings, "ivy.resolved.configurations", _resolveId);
}
if (_conf == null) {