recently added file XMLStreamHelperTestCase.java is not compatible with JDK 1.4
-------------------------------------------------------------------------------

         Key: TUSCANY-492
         URL: http://issues.apache.org/jira/browse/TUSCANY-492
     Project: Tuscany
        Type: Bug

  Components: Java SDO Implementation  
    Versions: Java-M2    
 Environment: Windows XP
    Reporter: Paul Golick


In XMLStreamHelperTestCase.java there are two uses of a java.lang.String 
instance method "contains(java.lang.String)".
This method was not added until Java 1.5; so, it is not found in the class 
library for Java 1.4
The attached patch changes "x.contains(y)" to the nearly equivalent 
"x.indexOf(y)!=-1".


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to