Revert r1075050
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 27 Feb 2011 14:12:39 +0000 (14:12 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 27 Feb 2011 14:12:39 +0000 (14:12 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1075058 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/startup/CatalinaProperties.java
webapps/docs/changelog.xml

index c114437..213f1ad 100644 (file)
@@ -140,9 +140,7 @@ public class CatalinaProperties {
             String name = (String) enumeration.nextElement();
             String value = properties.getProperty(name);
             if (value != null) {
-                // Remove leading/trailing whitespace as that can lead to hard
-                // to diagnose failures
-                System.setProperty(name.trim(), value.trim());
+                System.setProperty(name, value);
             }
         }
 
index 60d9909..b255c37 100644 (file)
         (markt)
       </add>
       <fix>
-        <bug>31027</bug>: Trim whitespace from names and values obtained from
-        <code>$CATALINA_BASE/conf/catalina.properties</code> to avoid hard to
-        diagnose errors on startup. (markt)
-      </fix>
-      <fix>
         <bug>48863</bug>: Better logging when specifying an invalid directory
         for a class loader. Based on a patch by Ralf Hauser. (markt)
       </fix>