From 857decb587a4ca778e3cbf126a42d0aff7cb1d0d Mon Sep 17 00:00:00 2001 From: markt Date: Thu, 26 Nov 2009 01:02:19 +0000 Subject: [PATCH] Reduce visibility git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@884351 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/catalina/core/JreMemoryLeakPreventionListener.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java b/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java index 13eac0130..f72c64a19 100644 --- a/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java +++ b/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java @@ -51,7 +51,7 @@ public class JreMemoryLeakPreventionListener implements LifecycleListener { 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 @@ public class JreMemoryLeakPreventionListener implements LifecycleListener { * sun.awt.AppContext.getAppContext() is triggered by a web * application. Defaults to true. */ - 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 @@ public class JreMemoryLeakPreventionListener implements LifecycleListener { * {@link URLConnection}s, regardless of type. Defaults to * true. */ - 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 @@ public class JreMemoryLeakPreventionListener implements LifecycleListener { * 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; -- 2.11.0