[ 
http://www.stripesframework.org/jira/browse/STS-890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ben Gunter resolved STS-890.
----------------------------

       Resolution: Fixed
    Fix Version/s: Release 1.5.8
         Assignee: Ben Gunter

> String.isEmpty() is not compatible with Java 1.5
> ------------------------------------------------
>
>                 Key: STS-890
>                 URL: http://www.stripesframework.org/jira/browse/STS-890
>             Project: Stripes
>          Issue Type: Bug
>          Components: Validation
>    Affects Versions: Release 1.5.7
>            Reporter: Danilo Ghirardelli
>            Assignee: Ben Gunter
>             Fix For: Release 1.5.8
>
>
> Is Stripes still compatible with Java 1.5?
> If yes, the changes introduced in STS-877 are not compatible with Java 1.5 
> and the library fails to run on Java 1.5 ssytem. The source of the problem is 
> that {{.isEmpty()}} was introduced in the {{String}} class in Java 1.6, so if 
> you still want to be compatible you should use apache commons {{StringUtils}} 
> or any other similar way to check if the string is empty, avoiding the 
> {{isEmpty}} method.
> Otherwise the documentation is outdated and should now say that Stripes 
> doesn't support Java 1.5 anymore.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to