axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/encoding/ser BeanDeserializer.java
Date Mon, 07 Oct 2002 22:49:49 GMT
tomj        2002/10/07 15:49:49

  Modified:    java/src/org/apache/axis/encoding/ser Tag: interop4
                        BeanDeserializer.java
  Log:
  If we get a nil element, don't bother doing work.
  This protects against trying to Deserialize a nil anyType
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.55.4.3  +4 -0      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.55.4.2
  retrieving revision 1.55.4.3
  diff -u -r1.55.4.2 -r1.55.4.3
  --- BeanDeserializer.java	7 Oct 2002 20:18:57 -0000	1.55.4.2
  +++ BeanDeserializer.java	7 Oct 2002 22:49:49 -0000	1.55.4.3
  @@ -200,6 +200,10 @@
           }  
           prevQName = elemQName;
   
  +        // Fastpath nil checks...
  +        if (context.isNil(attributes))
  +            return null;
  +        
           if (typeDesc != null) {       
               // Lookup the name appropriately (assuming an unqualified
               // name for SOAP encoding, using the namespace otherwise)
  
  
  

Mime
View raw message