axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/encoding/ser ArraySerializer.java
Date Mon, 04 Feb 2002 21:08:56 GMT
gdaniels    02/02/04 13:08:56

  Modified:    java/src/org/apache/axis/encoding/ser ArraySerializer.java
  Log:
  *sigh*
  
  Still seemed to be problems with the removeAttr() call, this seems to
  clear it up... apparently people's implementations of this (xerces vs.
  crimson, etc) are a bit touchy.
  
  Revision  Changes    Path
  1.7       +1 -5      xml-axis/java/src/org/apache/axis/encoding/ser/ArraySerializer.java
  
  Index: ArraySerializer.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/encoding/ser/ArraySerializer.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ArraySerializer.java	2 Feb 2002 18:06:18 -0000	1.6
  +++ ArraySerializer.java	4 Feb 2002 21:08:56 -0000	1.7
  @@ -218,11 +218,7 @@
           if (isEncoded) {
               AttributesImpl attrs;
               if (attributes != null) {
  -                if (attributes instanceof AttributesImpl) {
  -                    attrs = (AttributesImpl)attributes;
  -                } else {
  -                    attrs = new AttributesImpl(attributes);
  -                }
  +                attrs = new AttributesImpl(attributes);
               } else {
                   attrs = new AttributesImpl();
               }
  
  
  

Mime
View raw message