Author: markt Date: Thu Nov 26 01:02:19 2009 New Revision: 884351 URL: http://svn.apache.org/viewvc?rev=884351&view=rev Log: Reduce visibility
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=884351&r1=884350&r2=884351&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java (original) +++ tomcat/trunk/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java Thu Nov 26 01:02:19 2009 @@ -51,7 +51,7 @@ private static final Log log = LogFactory.getLog(JreMemoryLeakPreventionListener.class); - protected static final StringManager sm = + private static final StringManager sm = StringManager.getManager(Constants.Package); /** @@ -59,7 +59,7 @@ * <code>sun.awt.AppContext.getAppContext()</code> is triggered by a web * application. Defaults to <code>true</code>. */ - protected boolean appContextProtection = true; + private boolean appContextProtection = true; public boolean isAppContextProtection() { return appContextProtection; } public void setAppContextProtection(boolean appContextProtection) { this.appContextProtection = appContextProtection; @@ -71,7 +71,7 @@ * {...@link URLConnection}s, regardless of type. Defaults to * <code>true</code>. */ - protected boolean urlCacheProtection = true; + private boolean urlCacheProtection = true; public boolean isUrlCacheProtection() { return urlCacheProtection; } public void setUrlCacheProtection(boolean urlCacheProtection) { this.urlCacheProtection = urlCacheProtection; @@ -82,7 +82,7 @@ * particularly nasty as profilers (at least YourKit and Eclispe MAT) don't * idenitfy any GC roots related to this. */ - protected boolean xmlParsingProtection = true; + private boolean xmlParsingProtection = true; public boolean isXmlParsingProtection() { return xmlParsingProtection; } public void setXmlParsingProtection(boolean xmlParsingProtection) { this.xmlParsingProtection = xmlParsingProtection; --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org