Author: mrglavas
Date: Wed May  9 04:15:35 2012
New Revision: 1335920

URL: http://svn.apache.org/viewvc?rev=1335920&view=rev
Log:
Making several fields final.

Modified:
    xerces/java/trunk/samples/jaxp/InlineSchemaValidator.java
    xerces/java/trunk/samples/jaxp/SourceValidator.java

Modified: xerces/java/trunk/samples/jaxp/InlineSchemaValidator.java
URL: 
http://svn.apache.org/viewvc/xerces/java/trunk/samples/jaxp/InlineSchemaValidator.java?rev=1335920&r1=1335919&r2=1335920&view=diff
==============================================================================
--- xerces/java/trunk/samples/jaxp/InlineSchemaValidator.java (original)
+++ xerces/java/trunk/samples/jaxp/InlineSchemaValidator.java Wed May  9 
04:15:35 2012
@@ -117,13 +117,13 @@ public class InlineSchemaValidator 
     //
     
     /** Print writer. */
-    protected PrintWriter fOut = new PrintWriter(System.out);
+    protected final PrintWriter fOut = new PrintWriter(System.out);
     
     /** Prefix to URI mappings for the NamespaceContext. */
-    protected HashMap fPrefixToURIMappings;
+    protected final HashMap fPrefixToURIMappings;
     
     /** URI to prefix mappings for the NamespaceContext. */
-    protected HashMap fURIToPrefixMappings;
+    protected final HashMap fURIToPrefixMappings;
 
     //
     // Constructors

Modified: xerces/java/trunk/samples/jaxp/SourceValidator.java
URL: 
http://svn.apache.org/viewvc/xerces/java/trunk/samples/jaxp/SourceValidator.java?rev=1335920&r1=1335919&r2=1335920&view=diff
==============================================================================
--- xerces/java/trunk/samples/jaxp/SourceValidator.java (original)
+++ xerces/java/trunk/samples/jaxp/SourceValidator.java Wed May  9 04:15:35 2012
@@ -123,7 +123,7 @@ public class SourceValidator 
     // Data
     //
     
-    protected PrintWriter fOut = new PrintWriter(System.out);
+    protected final PrintWriter fOut = new PrintWriter(System.out);
 
     //
     // Constructors



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to