cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterjo...@apache.org
Subject svn commit: r542268 - /incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/common/ProcessorTestBase.java
Date Mon, 28 May 2007 16:39:52 GMT
Author: peterjones
Date: Mon May 28 09:39:51 2007
New Revision: 542268

URL: http://svn.apache.org/viewvc?view=rev&rev=542268
Log:
Fix for a problem with the CodeGenBugTest on the ibm jdk.
Annotation parameters appear in a different order from the sun jdk, so work
around that in the file comparison.

Modified:
    incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/common/ProcessorTestBase.java

Modified: incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/common/ProcessorTestBase.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/common/ProcessorTestBase.java?view=diff&rev=542268&r1=542267&r2=542268
==============================================================================
--- incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/common/ProcessorTestBase.java
(original)
+++ incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/common/ProcessorTestBase.java
Mon May 28 09:39:51 2007
@@ -87,8 +87,8 @@
         String str1 = getStringFromFile(location1);
         String str2 = getStringFromFile(location2);
 
-        StringTokenizer st1 = new StringTokenizer(str1);
-        StringTokenizer st2 = new StringTokenizer(str2);
+        StringTokenizer st1 = new StringTokenizer(str1, " \t\n\r\f(),");
+        StringTokenizer st2 = new StringTokenizer(str2, " \t\n\r\f(),");
 
         // namespace declarations and wsdl message parts can be ordered
         // differently in the generated wsdl between the ibm and sun jdks.



Mime
View raw message