axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/wsdl Emitter.java
Date Mon, 15 Oct 2001 20:07:46 GMT
bloritsch    01/10/15 13:07:46

  Modified:    java/src/org/apache/axis/wsdl Emitter.java
  Log:
  Provide fix to check for pre-existing Faults
  
  Revision  Changes    Path
  1.52      +8 -2      xml-axis/java/src/org/apache/axis/wsdl/Emitter.java
  
  Index: Emitter.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdl/Emitter.java,v
  retrieving revision 1.51
  retrieving revision 1.52
  diff -u -r1.51 -r1.52
  --- Emitter.java	2001/10/15 20:02:24	1.51
  +++ Emitter.java	2001/10/15 20:07:46	1.52
  @@ -926,8 +926,14 @@
           String fileName = exceptionName + ".java";
   
           // check to make sure we haven't already emitted this fault
  -        if (this.classList.contains(exceptionName) ) {
  -            return exceptionName;
  +        if (packageName == null) {
  +            if ( this.classList.contains(exceptionName) ) {
  +                return exceptionName;
  +            }
  +        } else {
  +            if ( this.classList.contains(packageName + "." + exceptionName) ) {
  +                return exceptionName;
  +            }
           }
   
           this.fileList.add(packageDirName + fileName);
  
  
  

Mime
View raw message