tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1237991 - in /tomcat/trunk/java/org/apache/tomcat/util/http/mapper: Mapper.java MappingData.java
Date Mon, 30 Jan 2012 20:45:12 GMT
Author: markt
Date: Mon Jan 30 20:45:11 2012
New Revision: 1237991

URL: http://svn.apache.org/viewvc?rev=1237991&view=rev
Log:
Use final

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/http/mapper/Mapper.java
    tomcat/trunk/java/org/apache/tomcat/util/http/mapper/MappingData.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/http/mapper/Mapper.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/http/mapper/Mapper.java?rev=1237991&r1=1237990&r2=1237991&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/http/mapper/Mapper.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/http/mapper/Mapper.java Mon Jan 30 20:45:11 2012
@@ -57,7 +57,7 @@ public final class Mapper {
     /**
      * Context associated with this wrapper, used for wrapper mapping.
      */
-    protected ContextVersion context = new ContextVersion();
+    protected final ContextVersion context = new ContextVersion();
 
 
     // --------------------------------------------------------- Public Methods

Modified: tomcat/trunk/java/org/apache/tomcat/util/http/mapper/MappingData.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/http/mapper/MappingData.java?rev=1237991&r1=1237990&r2=1237991&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/http/mapper/MappingData.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/http/mapper/MappingData.java Mon Jan 30 20:45:11
2012
@@ -32,12 +32,12 @@ public class MappingData {
     public Object wrapper = null;
     public boolean jspWildCard = false;
 
-    public MessageBytes contextPath = MessageBytes.newInstance();
-    public MessageBytes requestPath = MessageBytes.newInstance();
-    public MessageBytes wrapperPath = MessageBytes.newInstance();
-    public MessageBytes pathInfo = MessageBytes.newInstance();
+    public final MessageBytes contextPath = MessageBytes.newInstance();
+    public final MessageBytes requestPath = MessageBytes.newInstance();
+    public final MessageBytes wrapperPath = MessageBytes.newInstance();
+    public final MessageBytes pathInfo = MessageBytes.newInstance();
 
-    public MessageBytes redirectPath = MessageBytes.newInstance();
+    public final MessageBytes redirectPath = MessageBytes.newInstance();
 
     public void recycle() {
         host = null;



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


Mime
View raw message