axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russell Butek" <bu...@us.ibm.com>
Subject Re: cvs commit: xml-axis/java/src/org/apache/axis/wsdl Emitter.java
Date Tue, 09 Oct 2001 19:07:27 GMT
Arrrgghhh!!!  DON'T use import wildcards!!!!!

I think you were around when we had the discussion about requiring all our
code to explicitly list everything in the import statements, so I won't
repeat it.  Besides, it's probably IDEA that did this to you.

The next person who edits Emitter.java, PLEASE PUT THE IMPORT STATEMENTS
BACK!!!

Also, it looks like you still have whitespace problems (not so much in this
commit, but in your next one).  Please do a diff before you do an update so
you catch these before they get out here.  Who was it that said IDEA rocks?
It's a pain in the patoot, to me.

Russell Butek
butek@us.ibm.com
---------------------- Forwarded by Russell Butek/Austin/IBM on 10/09/2001
01:59 PM ---------------------------





bloritsch@apache.org on 10/09/2001 08:30:55 AM

Please respond to axis-dev@xml.apache.org

To:   xml-axis-cvs@apache.org
cc:

Subject:  cvs commit: xml-axis/java/src/org/apache/axis/wsdl Emitter.java




bloritsch    01/10/09 06:30:55

  Modified:    java/src/org/apache/axis/wsdl Emitter.java
  Log:
  Add initial methods to retrieve a list of filenames or classnames.
  Used in automated test environments.

  Revision  Changes    Path
  1.39      +19 -11    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.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- Emitter.java  2001/10/05 21:57:34  1.38
  +++ Emitter.java  2001/10/09 13:30:55  1.39
  @@ -84,16 +84,8 @@
   import java.io.IOException;
   import java.io.PrintWriter;
   import java.net.MalformedURLException;
  -import java.net.URL;
  -import java.util.Collection;
  -import java.util.HashMap;
  -import java.util.HashSet;
  -import java.util.Iterator;
  -import java.util.List;
  -import java.util.ListIterator;
  -import java.util.Map;
  -import java.util.StringTokenizer;
  -import java.util.Vector;
  +import java.net.URL;
  +import java.util.*;

   /**
    * This class produces java files for stubs, skeletons, and types from a
  @@ -123,7 +115,9 @@
       String packageName = null;
       String packageDirName = "";
       String outputDir = null;
  -    byte scope = NO_EXPLICIT_SCOPE;
  +    byte scope = NO_EXPLICIT_SCOPE;
  +    private ArrayList classList = new ArrayList();
  +    private ArrayList fileList = new ArrayList();

       private TypeFactory emitFactory = null;
       private HashMap portTypesInfo = null;
  @@ -352,6 +346,20 @@
       //
       // Implementation
       //
  +
  +    /**
  +     * This method returns a list of all generated class names.
  +     */
  +    public List getGeneratedClassNames() {
  +        return this.classList;
  +    }
  +
  +    /**
  +     * This method returns a list of all generated file names.
  +     */
  +    public List getGeneratedFileNames() {
  +        return this.fileList;
  +    }

       /**
        * This method returns a set of all the Types in a given PortType.






Mime
View raw message