tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1756019 - /tomcat/trunk/java/org/apache/tomcat/util/http/ServerCookies.java
Date Thu, 11 Aug 2016 18:06:04 GMT
Author: markt
Date: Thu Aug 11 18:06:04 2016
New Revision: 1756019

URL: http://svn.apache.org/viewvc?rev=1756019&view=rev
Log:
StringManager should be private static final 

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/http/ServerCookies.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/http/ServerCookies.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/http/ServerCookies.java?rev=1756019&r1=1756018&r2=1756019&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/http/ServerCookies.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/http/ServerCookies.java Thu Aug 11 18:06:04 2016
@@ -23,7 +23,7 @@ import org.apache.tomcat.util.res.String
  */
 public class ServerCookies {
 
-    StringManager sm = StringManager.getManager(ServerCookies.class);
+    private static final StringManager sm = StringManager.getManager(ServerCookies.class);
 
     private ServerCookie[] serverCookies;
 



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


Mime
View raw message