dlr 2004/05/14 08:22:53
Modified: src/java/org/apache/xmlrpc/applet SimpleXmlRpcClient.java Log: * src/java/org/apache/xmlrpc/applet/SimpleXmlRpcClient.java setType(int): Corrected initialization of "value" and "array" instance members, which needed to be set to the same instance rather than to two different instances. Issue: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19620 Submitted by: Lee Haslup Revision Changes Path 1.7 +3 -5 ws-xmlrpc/src/java/org/apache/xmlrpc/applet/SimpleXmlRpcClient.java Index: SimpleXmlRpcClient.java =================================================================== RCS file: /home/cvs/ws-xmlrpc/src/java/org/apache/xmlrpc/applet/SimpleXmlRpcClient.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -u -r1.6 -r1.7 --- SimpleXmlRpcClient.java 1 May 2003 16:53:16 -0000 1.6 +++ SimpleXmlRpcClient.java 14 May 2004 15:22:53 -0000 1.7 @@ -610,13 +610,11 @@ this.type = type; if (type == ARRAY) { - value = new Vector(); - array = new Vector(); + value = array = new Vector(); } if (type == STRUCT) { - value = new Hashtable(); - struct = new Hashtable(); + value = struct = new Hashtable(); } }