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 2007/09/02 20:26:09 UTC

svn commit: r572086 - /xerces/java/trunk/src/org/apache/xerces/impl/dv/DatatypeException.java

Author: mrglavas
Date: Sun Sep  2 11:26:08 2007
New Revision: 572086

URL: http://svn.apache.org/viewvc?rev=572086&view=rev
Log:
Marking a couple of fields final.

Modified:
    xerces/java/trunk/src/org/apache/xerces/impl/dv/DatatypeException.java

Modified: xerces/java/trunk/src/org/apache/xerces/impl/dv/DatatypeException.java
URL: http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/impl/dv/DatatypeException.java?rev=572086&r1=572085&r2=572086&view=diff
==============================================================================
--- xerces/java/trunk/src/org/apache/xerces/impl/dv/DatatypeException.java (original)
+++ xerces/java/trunk/src/org/apache/xerces/impl/dv/DatatypeException.java Sun Sep  2 11:26:08 2007
@@ -24,7 +24,7 @@
 /**
  * Base class for datatype exceptions. For DTD types, the exception can be
  * created from an error message. For Schema types, it needs an error code
- * (as defined in Appendix C of the structure spec), plus an array of arguents,
+ * (as defined in Appendix C of the structure spec), plus an array of arguments,
  * for error message substitution.
  * 
  * @xerces.internal 
@@ -39,8 +39,8 @@
     static final long serialVersionUID = 1940805832730465578L;
     
     // used to store error code and error substitution arguments
-    protected String key;
-    protected Object[] args;
+    protected final String key;
+    protected final Object[] args;
 
     /**
      * Create a new datatype exception by providing an error code and a list



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org