axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sc...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/encoding TypeMappingImpl.java
Date Mon, 17 Jun 2002 16:22:05 GMT
scheu       2002/06/17 09:22:05

  Modified:    java/src/org/apache/axis/encoding TypeMappingImpl.java
  Log:
  TCK change to TypeMappingImpl.register method to throw exception if one of the input params
is null
  
  Revision  Changes    Path
  1.16      +5 -0      xml-axis/java/src/org/apache/axis/encoding/TypeMappingImpl.java
  
  Index: TypeMappingImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/encoding/TypeMappingImpl.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- TypeMappingImpl.java	17 Jun 2002 15:50:45 -0000	1.15
  +++ TypeMappingImpl.java	17 Jun 2002 16:22:05 -0000	1.16
  @@ -229,6 +229,11 @@
                            javax.xml.rpc.encoding.DeserializerFactory dsf)
           throws JAXRPCException {
   
  +       if (javaType == null || xmlType == null) {
  +            // return false;
  +            throw new JAXRPCException();
  +        }
  +
           //REMOVED_FOR_TCK
           //if (sf != null &&
           //    !(sf instanceof javax.xml.rpc.encoding.SerializerFactory)) {
  
  
  

Mime
View raw message