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/wsdl/fromJava Emitter.java
Date Wed, 13 Feb 2002 21:05:04 GMT
tomj        02/02/13 13:05:04

  Modified:    java/src/org/apache/axis/wsdl/fromJava Emitter.java
  Log:
  Follow through on a note I sent about filtering the ".jws"
  extension in emitted WSDL.
  
  Revision  Changes    Path
  1.15      +5 -0      xml-axis/java/src/org/apache/axis/wsdl/fromJava/Emitter.java
  
  Index: Emitter.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdl/fromJava/Emitter.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- Emitter.java	12 Feb 2002 09:42:17 -0000	1.14
  +++ Emitter.java	13 Feb 2002 21:05:04 -0000	1.15
  @@ -371,6 +371,11 @@
                       } else { 
                           name = null;
                       }
  +                    // if we got the name from the location, strip .jws from it
  +                    if (name.endsWith(".jws") ) {
  +                        name = name.substring(0, 
  +                                              (name.length() - ".jws".length()));
  +                    }
                   }
                   if (name == null) {
                       name = clsName;
  
  
  

Mime
View raw message