ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xav...@apache.org
Subject svn commit: r689454 - /ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/AbstractResourceResolver.java
Date Wed, 27 Aug 2008 12:11:12 GMT
Author: xavier
Date: Wed Aug 27 05:11:12 2008
New Revision: 689454

URL: http://svn.apache.org/viewvc?rev=689454&view=rev
Log:
FIX: yet another bug introduced when implementing IVY-886

Modified:
    ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/AbstractResourceResolver.java

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/AbstractResourceResolver.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/AbstractResourceResolver.java?rev=689454&r1=689453&r2=689454&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/AbstractResourceResolver.java
(original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/AbstractResourceResolver.java
Wed Aug 27 05:11:12 2008
@@ -451,7 +451,7 @@
     }
 
     protected void convertM2TokenValuesForResourceSearch(Map tokenValues) {
-        if (tokenValues.containsKey(IvyPatternHelper.ORGANISATION_KEY)) {
+        if (tokenValues.get(IvyPatternHelper.ORGANISATION_KEY) instanceof String) {
             tokenValues.put(IvyPatternHelper.ORGANISATION_KEY, 
                 convertM2OrganizationForResourceSearch(
                     (String) tokenValues.get(IvyPatternHelper.ORGANISATION_KEY)));



Mime
View raw message