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 BeanDeserializer.java
Date Tue, 20 Aug 2002 03:55:47 GMT
gdaniels    2002/08/19 20:55:47

  Modified:    java/src/org/apache/axis/encoding/ser BeanDeserializer.java
  Log:
  Housekeeping.
  
  Revision  Changes    Path
  1.48      +5 -12     xml-axis/java/src/org/apache/axis/encoding/ser/BeanDeserializer.java
  
  Index: BeanDeserializer.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/encoding/ser/BeanDeserializer.java,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- BeanDeserializer.java	18 Aug 2002 14:19:50 -0000	1.47
  +++ BeanDeserializer.java	20 Aug 2002 03:55:47 -0000	1.48
  @@ -210,8 +210,6 @@
   
           // try and see if this is an xsd:any namespace="##any" element before
           // reporting a problem
  -        QName qn = null;
  -        Deserializer dSer = null;
           if (propDesc == null) {
               // try to put unknown elements into a SOAPElement property, if
               // appropriate
  @@ -248,19 +246,14 @@
                                            localName));
           }
   
  -        // Determine the QName for this child element.
           // Look at the type attribute specified.  If this fails,
           // use the javaType of the property to get the type qname.
  -        if (qn == null) {
  -            qn = context.getTypeFromAttributes(namespace, localName,
  -                                               attributes);
  -        }
  -        
  +        QName qn = context.getTypeFromAttributes(namespace, localName,
  +                                                 attributes);
  +
           // get the deserializer
  -        if (dSer == null) {
  -            dSer = context.getDeserializerForType(qn);
  -        }
  -        
  +        Deserializer dSer = context.getDeserializerForType(qn);
  +
           // If no deserializer, use the base DeserializerImpl.
           // There may not be enough information yet to choose the
           // specific deserializer.
  
  
  

Mime
View raw message