You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mu...@apache.org on 2019/09/18 07:21:30 UTC
svn commit: r1867098 -
/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/traversers/XSDComplexTypeTraverser.java
Author: mukulg
Date: Wed Sep 18 07:21:30 2019
New Revision: 1867098
URL: http://svn.apache.org/viewvc?rev=1867098&view=rev
Log:
minor modifications to comments
Modified:
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/traversers/XSDComplexTypeTraverser.java
Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/traversers/XSDComplexTypeTraverser.java
URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/traversers/XSDComplexTypeTraverser.java?rev=1867098&r1=1867097&r2=1867098&view=diff
==============================================================================
--- xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/traversers/XSDComplexTypeTraverser.java (original)
+++ xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/traversers/XSDComplexTypeTraverser.java Wed Sep 18 07:21:30 2019
@@ -1912,7 +1912,7 @@ class XSDComplexTypeTraverser extends X
if(annotation == null)
return;
// it isn't very likely that there will be more than one annotation
- // in a complexType decl. This saves us fromhaving to push/pop
+ // in a complexType decl. This saves us from having to push/pop
// one more object from the fGlobalStore, and that's bound
// to be a savings for most applications
if(fAnnotations == null) {
@@ -1929,10 +1929,7 @@ class XSDComplexTypeTraverser extends X
if (assertion == null) {
return;
}
- // it isn't very likely that there will be more than one annotation
- // in a complexType decl. This saves us fromhaving to push/pop
- // one more object from the fGlobalStore, and that's bound
- // to be a savings for most applications
+
if (fAssertions == null) {
fAssertions = new XSAssertImpl[1];
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org