db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1377192 - /db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/template/TemplateOutletImpl.java
Date Sat, 25 Aug 2012 03:37:23 GMT
Author: tfischer
Date: Sat Aug 25 03:37:23 2012
New Revision: 1377192

URL: http://svn.apache.org/viewvc?rev=1377192&view=rev
Log:
use final modifiers for instance variables where possible

Modified:
    db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/template/TemplateOutletImpl.java

Modified: db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/template/TemplateOutletImpl.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/template/TemplateOutletImpl.java?rev=1377192&r1=1377191&r2=1377192&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/template/TemplateOutletImpl.java
(original)
+++ db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/template/TemplateOutletImpl.java
Sat Aug 25 03:37:23 2012
@@ -51,7 +51,7 @@ public abstract class TemplateOutletImpl
      * There may be more than one template content per template because
      * the template path can contain tokens.
      */
-    private Map<String, String> contentMap = new HashMap<String, String>();
+    private final Map<String, String> contentMap = new HashMap<String, String>();
 
     /**
      * The path to the template. May contain unresolved tokens.
@@ -66,12 +66,12 @@ public abstract class TemplateOutletImpl
     /**
      * The configuration provider for accessing the template content.
      */
-    private ConfigurationProvider configurationProvider;
+    private final ConfigurationProvider configurationProvider;
 
     /**
      * The Filter for filtering the template content.
      */
-    private TemplateFilter templateFilter;
+    private final TemplateFilter templateFilter;
 
     /** Buffer size for loading the template File. */
     private static final int LOAD_BUFFER_SIZE = 8192;



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


Mime
View raw message