axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject cvs commit: xml-axis/java/samples/echo TestClient.java
Date Wed, 01 Aug 2001 17:35:41 GMT
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;
  
  
  

Mime
View raw message