You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kk...@apache.org on 2014/06/20 14:46:30 UTC

svn commit: r1604165 - /tomcat/trunk/java/org/apache/catalina/core/StandardContext.java

Author: kkolinko
Date: Fri Jun 20 12:46:30 2014
New Revision: 1604165

URL: http://svn.apache.org/r1604165
Log:
Correct copy-pasted comments

Modified:
    tomcat/trunk/java/org/apache/catalina/core/StandardContext.java

Modified: tomcat/trunk/java/org/apache/catalina/core/StandardContext.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/StandardContext.java?rev=1604165&r1=1604164&r2=1604165&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/core/StandardContext.java (original)
+++ tomcat/trunk/java/org/apache/catalina/core/StandardContext.java Fri Jun 20 12:46:30 2014
@@ -3803,7 +3803,7 @@ public class StandardContext extends Con
 
         synchronized (applicationListenersLock) {
 
-            // Make sure this welcome file is currently present
+            // Make sure this listener is currently present
             int n = -1;
             for (int i = 0; i < applicationListeners.length; i++) {
                 if (applicationListeners[i].equals(listener)) {
@@ -3814,7 +3814,7 @@ public class StandardContext extends Con
             if (n < 0)
                 return;
 
-            // Remove the specified constraint
+            // Remove the specified listener
             int j = 0;
             String results[] = new String[applicationListeners.length - 1];
             for (int i = 0; i < applicationListeners.length; i++) {
@@ -3998,7 +3998,7 @@ public class StandardContext extends Con
 
         synchronized (instanceListenersLock) {
 
-            // Make sure this welcome file is currently present
+            // Make sure this listener is currently present
             int n = -1;
             for (int i = 0; i < instanceListeners.length; i++) {
                 if (instanceListeners[i].equals(listener)) {
@@ -4009,7 +4009,7 @@ public class StandardContext extends Con
             if (n < 0)
                 return;
 
-            // Remove the specified constraint
+            // Remove the specified listener
             int j = 0;
             String results[] = new String[instanceListeners.length - 1];
             for (int i = 0; i < instanceListeners.length; i++) {
@@ -4223,7 +4223,7 @@ public class StandardContext extends Con
             if (n < 0)
                 return;
 
-            // Remove the specified constraint
+            // Remove the specified welcome file
             int j = 0;
             String results[] = new String[welcomeFiles.length - 1];
             for (int i = 0; i < welcomeFiles.length; i++) {
@@ -4253,7 +4253,7 @@ public class StandardContext extends Con
 
         synchronized (wrapperLifecyclesLock) {
 
-            // Make sure this welcome file is currently present
+            // Make sure this lifecycle listener is currently present
             int n = -1;
             for (int i = 0; i < wrapperLifecycles.length; i++) {
                 if (wrapperLifecycles[i].equals(listener)) {
@@ -4264,7 +4264,7 @@ public class StandardContext extends Con
             if (n < 0)
                 return;
 
-            // Remove the specified constraint
+            // Remove the specified lifecycle listener
             int j = 0;
             String results[] = new String[wrapperLifecycles.length - 1];
             for (int i = 0; i < wrapperLifecycles.length; i++) {
@@ -4293,7 +4293,7 @@ public class StandardContext extends Con
 
         synchronized (wrapperListenersLock) {
 
-            // Make sure this welcome file is currently present
+            // Make sure this listener is currently present
             int n = -1;
             for (int i = 0; i < wrapperListeners.length; i++) {
                 if (wrapperListeners[i].equals(listener)) {
@@ -4304,7 +4304,7 @@ public class StandardContext extends Con
             if (n < 0)
                 return;
 
-            // Remove the specified constraint
+            // Remove the specified listener
             int j = 0;
             String results[] = new String[wrapperListeners.length - 1];
             for (int i = 0; i < wrapperListeners.length; i++) {



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