Return-Path: Delivered-To: apmail-xml-axis-dev-archive@xml.apache.org Received: (qmail 63935 invoked by uid 500); 15 Oct 2001 20:13:47 -0000 Mailing-List: contact axis-dev-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@xml.apache.org Received: (qmail 63926 invoked by uid 500); 15 Oct 2001 20:13:47 -0000 Delivered-To: apmail-xml-axis-cvs@apache.org Date: 15 Oct 2001 20:07:46 -0000 Message-ID: <20011015200746.96202.qmail@icarus.apache.org> From: bloritsch@apache.org To: xml-axis-cvs@apache.org Subject: cvs commit: xml-axis/java/src/org/apache/axis/wsdl Emitter.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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);