Author: mrglavas
Date: Wed May  9 04:15:57 2012
New Revision: 1335921

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

Modified:
    
xerces/java/branches/xml-schema-1.1-dev/samples/jaxp/InlineSchemaValidator.java
    xerces/java/branches/xml-schema-1.1-dev/samples/jaxp/SourceValidator.java

Modified: 
xerces/java/branches/xml-schema-1.1-dev/samples/jaxp/InlineSchemaValidator.java
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/samples/jaxp/InlineSchemaValidator.java?rev=1335921&r1=1335920&r2=1335921&view=diff
==============================================================================
--- 
xerces/java/branches/xml-schema-1.1-dev/samples/jaxp/InlineSchemaValidator.java 
(original)
+++ 
xerces/java/branches/xml-schema-1.1-dev/samples/jaxp/InlineSchemaValidator.java 
Wed May  9 04:15:57 2012
@@ -120,13 +120,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/branches/xml-schema-1.1-dev/samples/jaxp/SourceValidator.java
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/samples/jaxp/SourceValidator.java?rev=1335921&r1=1335920&r2=1335921&view=diff
==============================================================================
--- xerces/java/branches/xml-schema-1.1-dev/samples/jaxp/SourceValidator.java 
(original)
+++ xerces/java/branches/xml-schema-1.1-dev/samples/jaxp/SourceValidator.java 
Wed May  9 04:15:57 2012
@@ -138,7 +138,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