You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2010/03/26 18:11:59 UTC
svn commit: r927973 -
/tomcat/tc5.5.x/trunk/container/catalina/src/share/org/apache/catalina/startup/HostConfig.java
Author: markt
Date: Fri Mar 26 17:11:59 2010
New Revision: 927973
URL: http://svn.apache.org/viewvc?rev=927973&view=rev
Log:
Remove Java 5 usage that was added in r902650
Modified:
tomcat/tc5.5.x/trunk/container/catalina/src/share/org/apache/catalina/startup/HostConfig.java
Modified: tomcat/tc5.5.x/trunk/container/catalina/src/share/org/apache/catalina/startup/HostConfig.java
URL: http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/container/catalina/src/share/org/apache/catalina/startup/HostConfig.java?rev=927973&r1=927972&r2=927973&view=diff
==============================================================================
--- tomcat/tc5.5.x/trunk/container/catalina/src/share/org/apache/catalina/startup/HostConfig.java (original)
+++ tomcat/tc5.5.x/trunk/container/catalina/src/share/org/apache/catalina/startup/HostConfig.java Fri Mar 26 17:11:59 2010
@@ -747,12 +747,12 @@ public class HostConfig
// More complicated than the ideal as the canonical path may or may
// not end with File.separator for a directory
- StringBuilder docBase;
+ StringBuffer docBase;
String canonicalDocBase = null;
try {
String canonicalAppBase = appBase.getCanonicalPath();
- docBase = new StringBuilder(canonicalAppBase);
+ docBase = new StringBuffer(canonicalAppBase);
if (canonicalAppBase.endsWith(File.separator)) {
docBase.append(contextPath.substring(1).replace(
'/', File.separatorChar));
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org