axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: ws-axis/java/src/org/apache/axis/encoding SerializationContext.java
Date Wed, 27 Oct 2004 03:21:55 GMT
dims        2004/10/26 20:21:55

  Modified:    java/src/org/apache/axis/encoding SerializationContext.java
  Log:
  Explicitly check for both.
  
  Revision  Changes    Path
  1.93      +3 -1      ws-axis/java/src/org/apache/axis/encoding/SerializationContext.java
  
  Index: SerializationContext.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/encoding/SerializationContext.java,v
  retrieving revision 1.92
  retrieving revision 1.93
  diff -u -r1.92 -r1.93
  --- SerializationContext.java	14 Oct 2004 20:28:47 -0000	1.92
  +++ SerializationContext.java	27 Oct 2004 03:21:55 -0000	1.93
  @@ -1390,7 +1390,9 @@
                   }
                   boolean encoded = isEncoded();
                   if (actualXMLType.value == null ||
  -                        (!encoded && actualXMLType.value.equals(soapConstants.getArrayType())))
{
  +                        (!encoded &&
  +                        (actualXMLType.value.equals(Constants.SOAP_ARRAY) ||
  +                        actualXMLType.value.equals(Constants.SOAP_ARRAY12)))) {
                       actualXMLType.value = tm.getXMLType(javaType,
                                                           xmlType,
                                                           encoded);
  
  
  

Mime
View raw message