[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xerces-cvs
Subject:    svn commit: r1335920 - in /xerces/java/trunk/samples/jaxp: InlineSchemaValidator.java SourceValidato
From:       mrglavas () apache ! org
Date:       2012-05-09 4:15:35
Message-ID: 20120509041535.A82EF2388860 () eris ! apache ! org
[Download RAW message or body]

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: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic