From: markt Date: Thu, 29 Oct 2009 10:58:49 +0000 (+0000) Subject: Clean-up - no functional change X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=8b78f0ba411f287dad4e2e78d9202627be5aa577;p=tomcat7.0 Clean-up - no functional change git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@830890 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java b/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java index dd8bf54d8..86c7aaed0 100644 --- a/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java +++ b/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java @@ -75,7 +75,7 @@ public class JreMemoryLeakPreventionListener implements LifecycleListener { /* * 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 @@ public class JreMemoryLeakPreventionListener implements LifecycleListener { 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) {