axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/encoding TypeMappingImpl.java
Date Mon, 17 Jun 2002 13:27:23 GMT
dims        2002/06/17 06:27:23

  Modified:    java/src/org/apache/axis/encoding TypeMappingImpl.java
  Log:
  Remove unnecessary checks.
  
  Revision  Changes    Path
  1.12      +0 -16     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.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- TypeMappingImpl.java	17 Jun 2002 12:08:40 -0000	1.11
  +++ TypeMappingImpl.java	17 Jun 2002 13:27:23 -0000	1.12
  @@ -225,22 +225,6 @@
                            javax.xml.rpc.encoding.SerializerFactory sf,
                            javax.xml.rpc.encoding.DeserializerFactory dsf) 
           throws JAXRPCException {        
  -
  -        //if (xmlType.getNamespaceURI() == null ||
  -        //    xmlType.getNamespaceURI().equals("") ||
  -        //    javaType == null ||
  -        //    xmlType == null) {
  -        //    throw new JAXRPCException();
  -        //}
  -        // Make sure the factories conform to the Axis interfaces
  -        if (sf != null &&
  -            !(sf instanceof javax.xml.rpc.encoding.SerializerFactory)) {
  -            throw new JAXRPCException();
  -        }
  -        if (dsf != null &&
  -            !(dsf instanceof javax.xml.rpc.encoding.DeserializerFactory)) {
  -            throw new JAXRPCException();
  -        }
           Pair pair = new Pair(javaType, xmlType);
   
           // Only register the appropriate mappings.
  
  
  

Mime
View raw message