You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by pe...@apache.org on 2007/05/28 18:39:52 UTC

svn commit: r542268 - /incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/common/ProcessorTestBase.java

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.