tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1041324 - /tomcat/trunk/java/org/apache/catalina/util/ContextName.java
Date Thu, 02 Dec 2010 10:30:17 GMT
Author: markt
Date: Thu Dec  2 10:30:17 2010
New Revision: 1041324

URL: http://svn.apache.org/viewvc?rev=1041324&view=rev
Log:
Make constants static

Modified:
    tomcat/trunk/java/org/apache/catalina/util/ContextName.java

Modified: tomcat/trunk/java/org/apache/catalina/util/ContextName.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/util/ContextName.java?rev=1041324&r1=1041323&r2=1041324&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/util/ContextName.java (original)
+++ tomcat/trunk/java/org/apache/catalina/util/ContextName.java Thu Dec  2 10:30:17 2010
@@ -23,9 +23,9 @@ import java.util.Locale;
  * conversions between baseName, path and version take place.
  */
 public final class ContextName {
-    private final String ROOT_NAME = "ROOT";
-    private final String VERSION_MARKER = "##";
-    private final String FWD_SLASH_REPLACEMENT = "#";
+    private static final String ROOT_NAME = "ROOT";
+    private static final String VERSION_MARKER = "##";
+    private static final String FWD_SLASH_REPLACEMENT = "#";
 
     private final String baseName;
     private final String path;



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


Mime
View raw message