Hmmmm.... I'd rather you didn't remove this. True, it's not used, but if
we leave the hook in the code, it'll be easy to add extra debug info in the
future. It's not a big fish, I'd much rather we spend time on bugzillas.
Russell Butek
[EMAIL PROTECTED]
[EMAIL PROTECTED] on 09/19/2002 03:45:54 PM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: cvs commit: xml-axis/java/src/org/apache/axis/wsdl/symbolTable
SymbolTable.java
gdaniels 2002/09/19 13:45:54
Modified: java/src/org/apache/axis/wsdl/fromJava Types.java
java/src/org/apache/axis/wsdl/gen Parser.java
java/src/org/apache/axis/wsdl/symbolTable SymbolTable.java
Log:
A little cleanup of unused stuff.
Revision Changes Path
1.58 +1 -1
xml-axis/java/src/org/apache/axis/wsdl/fromJava/Types.java
Index: Types.java
===================================================================
RCS file:
/home/cvs/xml-axis/java/src/org/apache/axis/wsdl/fromJava/Types.java,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- Types.java 18 Sep 2002 16:10:43 -0000 1.57
+++ Types.java 19 Sep 2002 20:45:54 -0000 1.58
@@ -197,7 +197,7 @@
}
};
SymbolTable symbolTable = new SymbolTable(btm,
- true, false, false,
false);
+ true, false, false);
symbolTable.populate(null, doc);
// Walk the type/element entries in the symbol table and
1.10 +0 -2
xml-axis/java/src/org/apache/axis/wsdl/gen/Parser.java
Index: Parser.java
===================================================================
RCS file:
/home/cvs/xml-axis/java/src/org/apache/axis/wsdl/gen/Parser.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- Parser.java 18 Sep 2002 16:10:43 -0000 1.9
+++ Parser.java 19 Sep 2002 20:45:54 -0000 1.10
@@ -207,7 +207,6 @@
genFactory.getBaseTypeMapping(),
imports,
verbose,
- debug,
nowrap);
// We run the actual Emitter in a thread that we can kill
@@ -270,7 +269,6 @@
genFactory.getBaseTypeMapping(),
imports,
verbose,
- debug,
nowrap);
symbolTable.populate(context, doc);
generate(symbolTable);
1.38 +2 -6
xml-axis/java/src/org/apache/axis/wsdl/symbolTable/SymbolTable.java
Index: SymbolTable.java
===================================================================
RCS file:
/home/cvs/xml-axis/java/src/org/apache/axis/wsdl/symbolTable/SymbolTable.java,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- SymbolTable.java 18 Sep 2002 16:10:37 -0000 1.37
+++ SymbolTable.java 19 Sep 2002 20:45:54 -0000 1.38
@@ -104,7 +104,6 @@
import org.apache.axis.Constants;
-import org.apache.axis.utils.JavaUtils;
import org.apache.axis.utils.Messages;
import org.apache.axis.utils.XMLUtils;
import org.apache.axis.utils.URLHashSet;
@@ -145,8 +144,6 @@
private boolean verbose;
- private boolean debug = false;
-
private BaseTypeMapping btm = null;
// should we attempt to treat document/literal WSDL as "rpc-style"
@@ -163,11 +160,10 @@
* Construct a symbol table with the given Namespaces.
*/
public SymbolTable(BaseTypeMapping btm, boolean addImports,
- boolean verbose, boolean debug, boolean nowrap) {
+ boolean verbose, boolean nowrap) {
this.btm = btm;
this.addImports = addImports;
this.verbose = verbose;
- this.debug = debug;
this.nowrap = nowrap;
} // ctor
@@ -1137,7 +1133,7 @@
int index,
int outdex,
Parameters parameters,
- boolean trimInput) throws IOException {
+ boolean trimInput) {
Parameter p = (Parameter)inputs.get(index);
// If this is an element, we want the XML to reflect the element
name
// not the part name.