Author: markt Date: Thu Oct 29 10:58:49 2009 New Revision: 830890 URL: http://svn.apache.org/viewvc?rev=830890&view=rev Log: Clean-up - no functional change
Modified: tomcat/trunk/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java Modified: tomcat/trunk/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java?rev=830890&r1=830889&r2=830890&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java (original) +++ tomcat/trunk/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java Thu Oct 29 10:58:49 2009 @@ -75,7 +75,7 @@ /* * Several components end up opening JarURLConnections without first - * disabling chaching. This effectively locks the file. Whilst more + * disabling caching. This effectively locks the file. Whilst more * noticeable and harder to ignore on Windows, it affects all * operating systems. * @@ -88,7 +88,7 @@ try { // Doesn't matter that this JAR doesn't exist - just as long as // the URL is well-formed - URL url = new URL("jar:file://dummy.jar!/dummy.txt"); + URL url = new URL("jar:file://dummy.jar!/"); URLConnection uConn = url.openConnection(); uConn.setDefaultUseCaches(false); } catch (MalformedURLException e) { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org