dlr 2002/08/15 11:51:53
Modified: src/java/org/apache/xmlrpc XmlRpc.java
Log:
Clean up of debugging messages.
Revision Changes Path
1.28 +6 -7 xml-rpc/src/java/org/apache/xmlrpc/XmlRpc.java
Index: XmlRpc.java
===================================================================
RCS file: /home/cvs/xml-rpc/src/java/org/apache/xmlrpc/XmlRpc.java,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -u -r1.27 -r1.28
--- XmlRpc.java 7 Aug 2002 17:48:59 -0000 1.27
+++ XmlRpc.java 15 Aug 2002 18:51:53 -0000 1.28
@@ -347,12 +347,12 @@
if (debug)
{
- System.err.println("Beginning parsing XML input stream");
+ System.out.println("Beginning parsing XML input stream");
}
parser.parse(new InputSource (is));
if (debug)
{
- System.err.println ("Spent " + (System.currentTimeMillis() - now)
+ System.out.println ("Spent " + (System.currentTimeMillis() - now)
+ " millis parsing");
}
}
@@ -385,7 +385,7 @@
if (debug)
{
- System.err.println("endElement: " + name);
+ System.out.println("endElement: " + name);
}
// finalize character data, if appropriate
@@ -447,12 +447,11 @@
{
if (debug)
{
- System.err.println("startElement: " + name);
+ System.out.println("startElement: " + name);
}
if ("value".equals(name))
{
- // System.err.println ("starting value");
Value v = new Value();
values.push(v);
currentValue = v;
@@ -582,7 +581,7 @@
*/
public void setType(int type)
{
- // System.err.println ("setting type to "+types[type]);
+ //System.out.println ("setting type to "+types[type]);
this.type = type;
switch (type)
{