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/wsdl/fromJava Emitter.java
Date Sat, 14 Feb 2004 22:21:50 GMT
dims        2004/02/14 14:21:50

  Modified:    java/src/org/apache/axis/wsdl/fromJava Emitter.java
  Log:
  Fix NPE reported by Srinath - http://marc.theaimsgroup.com/?t=107668701700009&r=1&w=2
  
  Test case in Bug 18409 has a side effect of repro the problem reported by Srinath.
  
  Revision  Changes    Path
  1.112     +2 -1      ws-axis/java/src/org/apache/axis/wsdl/fromJava/Emitter.java
  
  Index: Emitter.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/wsdl/fromJava/Emitter.java,v
  retrieving revision 1.111
  retrieving revision 1.112
  diff -u -r1.111 -r1.112
  --- Emitter.java	16 Jan 2004 23:17:54 -0000	1.111
  +++ Emitter.java	14 Feb 2004 22:21:50 -0000	1.112
  @@ -597,7 +597,8 @@
               if (tm != null) {
                   serviceDesc.setTypeMapping(tm);
               } else {
  -                serviceDesc.setTypeMapping(getDefaultTypeMapping());
  +                tm = getDefaultTypeMapping();
  +                serviceDesc.setTypeMapping(tm);
               }
   
               javaServiceDesc.setStopClasses(stopClasses);
  
  
  

Mime
View raw message