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: [email protected]
For additional commands, e-mail: [email protected]