Return-Path: Delivered-To: apmail-xml-axis-dev-archive@xml.apache.org Received: (qmail 22152 invoked by uid 500); 1 Aug 2001 17:35:52 -0000 Mailing-List: contact axis-dev-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@xml.apache.org Received: (qmail 22143 invoked by uid 500); 1 Aug 2001 17:35:52 -0000 Delivered-To: apmail-xml-axis-cvs@apache.org Received: (qmail 22139 invoked from network); 1 Aug 2001 17:35:52 -0000 Received: from h32.sny.collab.net (HELO icarus.apache.org) (64.208.42.42) by h31.sny.collab.net with SMTP; 1 Aug 2001 17:35:52 -0000 Received: (qmail 48941 invoked by uid 1064); 1 Aug 2001 17:35:41 -0000 Date: 1 Aug 2001 17:35:41 -0000 Message-ID: <20010801173541.48940.qmail@icarus.apache.org> From: rubys@apache.org To: xml-axis-cvs@apache.org Subject: cvs commit: xml-axis/java/samples/echo TestClient.java X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N rubys 01/08/01 10:35:41 Modified: java/samples/echo TestClient.java Log: Simplified an unnecessarily complex expression. Yes, Dug, I verified that the results compile under JDK 1.2.2... ;-) Revision Changes Path 1.22 +2 -2 xml-axis/java/samples/echo/TestClient.java Index: TestClient.java =================================================================== RCS file: /home/cvs/xml-axis/java/samples/echo/TestClient.java,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- TestClient.java 2001/08/01 16:30:44 1.21 +++ TestClient.java 2001/08/01 17:35:41 1.22 @@ -113,9 +113,9 @@ } if (obj1 instanceof List) - obj1 = JavaUtils.convert(obj1, (new Object[]{}).getClass()); + obj1 = JavaUtils.convert(obj1, Object[].class); if (obj2 instanceof List) - obj2 = JavaUtils.convert(obj2, (new Object[]{}).getClass()); + obj2 = JavaUtils.convert(obj2, Object[].class); if (!obj2.getClass().isArray()) return false; if (!obj1.getClass().isArray()) return false;