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 2010/10/18 07:07:53 UTC
svn commit: r1023652 -
/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XSDTypeAlternativeValidator.java
Author: mrglavas
Date: Mon Oct 18 05:07:53 2010
New Revision: 1023652
URL: http://svn.apache.org/viewvc?rev=1023652&view=rev
Log:
None of the fields of InheritableAttribute are ever updated or accessed outside of their class so marking them final and private.
Modified:
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XSDTypeAlternativeValidator.java
Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XSDTypeAlternativeValidator.java
URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XSDTypeAlternativeValidator.java?rev=1023652&r1=1023651&r2=1023652&view=diff
==============================================================================
--- xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XSDTypeAlternativeValidator.java (original)
+++ xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XSDTypeAlternativeValidator.java Mon Oct 18 05:07:53 2010
@@ -252,13 +252,13 @@ public class XSDTypeAlternativeValidator
* is used as an intermediate storage, for inheritable attribute
* information.
*/
- class InheritableAttribute {
+ final class InheritableAttribute {
- String localName = "";
- String prefix = "";
- String uri = "";
- String value = "";
- String type = "";
+ private final String localName;
+ private final String prefix;
+ private final String uri;
+ private final String value;
+ private final String type;
public InheritableAttribute(String localName,
String prefix,
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org