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 2011/04/01 12:42:21 UTC

svn commit: r1087640 - /xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLAssertPsychopathXPath2Impl.java

Author: mukulg
Date: Fri Apr  1 10:42:20 2011
New Revision: 1087640

URL: http://svn.apache.org/viewvc?rev=1087640&view=rev
Log:
removed an unused method parameter

Modified:
    xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLAssertPsychopathXPath2Impl.java

Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLAssertPsychopathXPath2Impl.java
URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLAssertPsychopathXPath2Impl.java?rev=1087640&r1=1087639&r2=1087640&view=diff
==============================================================================
--- xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLAssertPsychopathXPath2Impl.java (original)
+++ xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLAssertPsychopathXPath2Impl.java Fri Apr  1 10:42:20 2011
@@ -402,7 +402,7 @@ public class XMLAssertPsychopathXPath2Im
         
         XSObjectList memberTypes = simpleTypeDefn.getMemberTypes();
         if (memberTypes != null && memberTypes.getLength() > 0 && !isTypeDerivedFromUnion) {            
-            if (isValidationFailedForSTUnion(memberTypes, element, value, false, augs)) { 
+            if (isValidationFailedForSTUnion(memberTypes, element, value, augs)) { 
                 isValueValid = false;
                 if (assertImpl.getAttrName() == null) {
                     // assertion evaluation was for an element
@@ -532,7 +532,7 @@ public class XMLAssertPsychopathXPath2Im
     /*
      * Determine if an validation episode must fail due to assertions evaluation for "simpleType -> union" member types.
      */
-    private boolean isValidationFailedForSTUnion(XSObjectList memberTypes, QName element, String value, boolean isAttribute, Augmentations augs) {
+    private boolean isValidationFailedForSTUnion(XSObjectList memberTypes, QName element, String value, Augmentations augs) {
         
         boolean isValidationFailedForUnion = true;
         final int memberTypesLength = memberTypes.getLength();



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