You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Paul Golick (JIRA)" <tu...@ws.apache.org> on 2006/08/16 20:53:14 UTC

[jira] Commented: (TUSCANY-492) recently added file XMLStreamHelperTestCase.java is not compatible with JDK 1.4

    [ http://issues.apache.org/jira/browse/TUSCANY-492?page=comments#action_12428465 ] 
            
Paul Golick commented on TUSCANY-492:
-------------------------------------

The problem reported by this issue was fixed in revision 431585.  This issue can be closed.

> 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
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-M2
>         Environment: Windows XP
>            Reporter: Paul Golick
>         Attachments: XMLStreamHelperTestCase_patch.txt
>
>
> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org