db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1377203 - /db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/template/velocity/VelocityTemplateFilter.java
Date Sat, 25 Aug 2012 04:25:35 GMT
Author: tfischer
Date: Sat Aug 25 04:25:34 2012
New Revision: 1377203

URL: http://svn.apache.org/viewvc?rev=1377203&view=rev
Log:
make tabReplacement static

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

Modified: db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/template/velocity/VelocityTemplateFilter.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/template/velocity/VelocityTemplateFilter.java?rev=1377203&r1=1377202&r2=1377203&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/template/velocity/VelocityTemplateFilter.java
(original)
+++ db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/template/velocity/VelocityTemplateFilter.java
Sat Aug 25 04:25:34 2012
@@ -39,7 +39,7 @@ public class VelocityTemplateFilter impl
     /**
      * With which String tabs should be replaced
      */
-    private final String tabReplacement = "    ";
+    private static final String TAB_REPLACEMENT = "    ";
 
     /**
      * This method filters the template and replaces some
@@ -105,7 +105,7 @@ public class VelocityTemplateFilter impl
                 }
                 else if ('\t' == readChar)
                 {
-                    startLineBuffer.append(tabReplacement);
+                    startLineBuffer.append(TAB_REPLACEMENT);
                 }
                 else if ('#' == readChar)
                 {



---------------------------------------------------------------------
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