dlr 2004/05/14 08:24:00
Modified: src/java/org/apache/xmlrpc/applet Tag: XMLRPC_1_2_BRANCH 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 Branch: XMLRPC_1_2_BRANCH Revision Changes Path No revision No revision 1.5.2.4 +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.5.2.3 retrieving revision 1.5.2.4 diff -u -u -r1.5.2.3 -r1.5.2.4 --- SimpleXmlRpcClient.java 8 Feb 2003 05:09:28 -0000 1.5.2.3 +++ SimpleXmlRpcClient.java 14 May 2004 15:24:00 -0000 1.5.2.4 @@ -606,13 +606,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(); } }