jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r704167 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/ConfigurationParser.java
Date Mon, 13 Oct 2008 17:17:22 GMT
Author: jukka
Date: Mon Oct 13 10:17:22 2008
New Revision: 704167

URL: http://svn.apache.org/viewvc?rev=704167&view=rev
Log:
JCR-1805: Trim whitespace from parameter names in configuration files

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/ConfigurationParser.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/ConfigurationParser.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/ConfigurationParser.java?rev=704167&r1=704166&r2=704167&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/ConfigurationParser.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/ConfigurationParser.java
Mon Oct 13 10:17:22 2008
@@ -147,7 +147,8 @@
                     throw new ConfigurationException("Parameter value not set");
                 }
                 parameters.put(
-                        name.getValue(), replaceVariables(value.getValue()));
+                        name.getValue().trim(),
+                        replaceVariables(value.getValue()));
             }
         }
 



Mime
View raw message