You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by wc...@locus.apache.org on 2000/11/28 21:18:24 UTC

cvs commit: xml-soap/java/src/org/apache/soap/encoding/soapenc MapSerializer.java

wcloeten    00/11/28 12:18:22

  Modified:    java/src/org/apache/soap/encoding/soapenc MapSerializer.java
  Log:
  logmsg
  
  Revision  Changes    Path
  1.3       +2 -2      xml-soap/java/src/org/apache/soap/encoding/soapenc/MapSerializer.java
  
  Index: MapSerializer.java
  ===================================================================
  RCS file: /home/cvs/xml-soap/java/src/org/apache/soap/encoding/soapenc/MapSerializer.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MapSerializer.java	2000/09/01 03:52:46	1.2
  +++ MapSerializer.java	2000/11/28 20:18:20	1.3
  @@ -168,13 +168,13 @@
                   Element keyEl = DOMUtils.getFirstChildElement(tempEl);
                   String tagName = keyEl.getTagName();
   
  -                if (tagName.compareToIgnoreCase(STR_KEY) != 0)
  +                if (!tagName.equalsIgnoreCase(STR_KEY))
                           throw new IllegalArgumentException("Got <" + tagName +
                                                                           "> tag when expecting <" + STR_KEY + ">");
                   
                   Element valEl = DOMUtils.getNextSiblingElement(keyEl);
                   tagName = valEl.getTagName();
  -                if (tagName.compareToIgnoreCase("value") != 0)
  +                if (!tagName.equalsIgnoreCase("value"))
                           throw new IllegalArgumentException("Got <" + tagName + 
                                                                           "> tag when expecting <" + STR_VALUE + ">");