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
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
------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development