You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mr...@apache.org on 2012/05/09 06:15:58 UTC
svn commit: r1335921 - in
/xerces/java/branches/xml-schema-1.1-dev/samples/jaxp:
InlineSchemaValidator.java SourceValidator.java
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: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org