cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1087884 - /cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java
Date Fri, 01 Apr 2011 20:25:15 GMT
Author: simonetripodi
Date: Fri Apr  1 20:25:14 2011
New Revision: 1087884

URL: http://svn.apache.org/viewvc?rev=1087884&view=rev
Log:
constants can be final

Modified:
    cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java

Modified: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java?rev=1087884&r1=1087883&r2=1087884&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGenerator.java
Fri Apr  1 20:25:14 2011
@@ -34,11 +34,11 @@ import org.xml.sax.helpers.AttributesImp
  */
 public class JAXBGenerator extends AbstractSAXGenerator implements CachingPipelineComponent
{
 
-    private static String DEFAULT = "##default";
+    private static final String DEFAULT = "##default";
 
-    private static String UTF_8 = "UTF-8";
+    private static final String UTF_8 = "UTF-8";
 
-    private static String EMPTY = "";
+    private static final String EMPTY = "";
 
     private InMemoryLRUMarshallerCache marshallerCache = InMemoryLRUMarshallerCache.getInstance();
 



Mime
View raw message