Author: kkolinko
Date: Sat Jan  8 00:50:02 2011
New Revision: 1056576

URL: http://svn.apache.org/viewvc?rev=1056576&view=rev
Log:
Followup to r1056553
There should not be "import com.sun.jndi.ldap.LdapPoolManager;" as we must not 
depend on that class at build time. Actually the import was used by JavaDoc 
comments only.

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=1056576&r1=1056575&r2=1056576&view=diff
==============================================================================
--- 
tomcat/trunk/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java 
(original)
+++ 
tomcat/trunk/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java 
Sat Jan  8 00:50:02 2011
@@ -35,8 +35,6 @@ import org.apache.juli.logging.Log;
 import org.apache.juli.logging.LogFactory;
 import org.apache.tomcat.util.res.StringManager;
 
-import com.sun.jndi.ldap.LdapPoolManager;
-
 /**
  * Provide a workaround for known places where the Java Runtime environment can
  * cause a memory leak or lock files.
@@ -165,12 +163,12 @@ public class JreMemoryLeakPreventionList
     }
     
     /**
-     * {...@link LdapPoolManager} spawns a thread when it is initialized if 
the 
-     * system property <code>com.sun.jndi.ldap.connect.pool.timeout</code> is
-     * greater than 0.
+     * <code>com.sun.jndi.ldap.LdapPoolManager</code> class spawns a thread 
when it
+     * is initialized if the system property
+     * <code>com.sun.jndi.ldap.connect.pool.timeout</code> is greater than 0.
      * That thread inherits the context class loader of the current thread, so
-     * that there my be a web application class loader leak if the web app
-     * is the first to use {...@link LdapPoolManager}. 
+     * that there may be a web application class loader leak if the web app
+     * is the first to use <code>LdapPoolManager</code>. 
      */
     private boolean ldapPoolProtection = true;
     public boolean isLdapPoolProtection() { return ldapPoolProtection; }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to