axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r642977 - /webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/utility/PropertyDescriptorPlusTests.java
Date Mon, 31 Mar 2008 12:28:24 GMT
Author: dims
Date: Mon Mar 31 05:28:22 2008
New Revision: 642977

URL: http://svn.apache.org/viewvc?rev=642977&view=rev
Log:
fix build break on IBM JDK5

Modified:
    webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/utility/PropertyDescriptorPlusTests.java

Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/utility/PropertyDescriptorPlusTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/utility/PropertyDescriptorPlusTests.java?rev=642977&r1=642976&r2=642977&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/utility/PropertyDescriptorPlusTests.java
(original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/utility/PropertyDescriptorPlusTests.java
Mon Mar 31 05:28:22 2008
@@ -37,7 +37,15 @@
         assertEquals(descriptors.length, 2);
 
         QName qName = new QName("", "args0");
-        PropertyDescriptorPlus plus = new PropertyDescriptorPlus(descriptors[0], qName);
+        PropertyDescriptor propertyDescriptor = null;
+        for (int i = 0; i < descriptors.length; i++) {
+            if(descriptors[i].getName().equals("arg0")){
+                propertyDescriptor = descriptors[i];
+                break;
+            }
+        }
+        assertNotNull(propertyDescriptor);
+        PropertyDescriptorPlus plus = new PropertyDescriptorPlus(propertyDescriptor, qName);
         byte[] testValue = {0xd, 0xe, 0xa, 0xd, 0xb, 0xe, 0xe, 0xf};
         plus.set(object, testValue);
 



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message