From c7883734743ce03844e880f215132797fccd1589 Mon Sep 17 00:00:00 2001 From: markt Date: Sun, 27 Feb 2011 14:12:39 +0000 Subject: [PATCH] Revert r1075050 git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1075058 13f79535-47bb-0310-9956-ffa450edef68 --- java/org/apache/catalina/startup/CatalinaProperties.java | 4 +--- webapps/docs/changelog.xml | 5 ----- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/java/org/apache/catalina/startup/CatalinaProperties.java b/java/org/apache/catalina/startup/CatalinaProperties.java index c114437e6..213f1ad85 100644 --- a/java/org/apache/catalina/startup/CatalinaProperties.java +++ b/java/org/apache/catalina/startup/CatalinaProperties.java @@ -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); } } diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index 60d990976..b255c3725 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -62,11 +62,6 @@ (markt) - 31027: Trim whitespace from names and values obtained from - $CATALINA_BASE/conf/catalina.properties to avoid hard to - diagnose errors on startup. (markt) - - 48863: Better logging when specifying an invalid directory for a class loader. Based on a patch by Ralf Hauser. (markt) -- 2.11.0