geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r811287 - /geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/resolver/ExplicitDefaultArtifactResolver.java
Date Fri, 04 Sep 2009 08:46:44 GMT
Author: xuhaihong
Date: Fri Sep  4 08:46:44 2009
New Revision: 811287

URL: http://svn.apache.org/viewvc?rev=811287&view=rev
Log:
GERONIMO-4838 Should automatically omit space in artifact_aliases.properties 

Modified:
    geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/resolver/ExplicitDefaultArtifactResolver.java

Modified: geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/resolver/ExplicitDefaultArtifactResolver.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/resolver/ExplicitDefaultArtifactResolver.java?rev=811287&r1=811286&r2=811287&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/resolver/ExplicitDefaultArtifactResolver.java
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/resolver/ExplicitDefaultArtifactResolver.java
Fri Sep  4 08:46:44 2009
@@ -95,8 +95,8 @@
         for (Map.Entry<Object, Object> entry : properties.entrySet()) {
             String key = (String) entry.getKey();
             String resolvedString = (String) entry.getValue();
-            Artifact source = Artifact.createPartial(key);
-            Artifact resolved = Artifact.create(resolvedString);
+            Artifact source = Artifact.createPartial(key.trim());
+            Artifact resolved = Artifact.create(resolvedString.trim());
             explicitResolution.put(source, resolved);
         }
         return explicitResolution;



Mime
View raw message