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 TypeMappingDelegate.java
Date Fri, 25 Feb 2005 03:28:01 GMT
dims        2005/02/24 19:28:01

  Modified:    java/src/org/apache/axis/encoding TypeMappingDelegate.java
  Log:
  remove unnecessary typecasting
  
  Revision  Changes    Path
  1.19      +5 -5      ws-axis/java/src/org/apache/axis/encoding/TypeMappingDelegate.java
  
  Index: TypeMappingDelegate.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/encoding/TypeMappingDelegate.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- TypeMappingDelegate.java	24 Feb 2005 21:59:55 -0000	1.18
  +++ TypeMappingDelegate.java	25 Feb 2005 03:28:01 -0000	1.19
  @@ -75,10 +75,10 @@
           getSerializer(Class javaType, QName xmlType)
           throws JAXRPCException
       {
  -        SerializerFactory sf = (SerializerFactory)delegate.getSerializer(javaType, xmlType);
  +        javax.xml.rpc.encoding.SerializerFactory sf = delegate.getSerializer(javaType,
xmlType);
   
           if (sf == null && next != null) {
  -            sf = (SerializerFactory)next.getSerializer(javaType, xmlType);
  +            sf = next.getSerializer(javaType, xmlType);
           }
   
           if (sf == null) {
  @@ -103,10 +103,10 @@
       public javax.xml.rpc.encoding.DeserializerFactory
               getDeserializer(Class javaType, QName xmlType, TypeMappingDelegate start)
               throws JAXRPCException {
  -        DeserializerFactory df =
  -                (DeserializerFactory)delegate.getDeserializer(javaType, xmlType, start);
  +        javax.xml.rpc.encoding.DeserializerFactory df =
  +                delegate.getDeserializer(javaType, xmlType, start);
           if (df == null && next != null) {
  -            df = (DeserializerFactory)next.getDeserializer(javaType, xmlType, start);
  +            df = next.getDeserializer(javaType, xmlType, start);
           }
           if (df == null) {
               df = delegate.finalGetDeserializer(javaType, xmlType, start);
  
  
  

Mime
View raw message