]
Andrey Markhel updated RF-10004:
--------------------------------
Summary: CDK: isEmpty method is generaged incorrectly (was: CDK: isEmpty methos is
generaged incorrectly)
CDK: isEmpty method is generaged incorrectly
--------------------------------------------
Key: RF-10004
URL:
https://issues.jboss.org/browse/RF-10004
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: CDK
Affects Versions: 4.0.0.Milestone5
Reporter: Andrey Markhel
Assignee: Alexander Smirnov
When I use expression #{empty ""} on component.template.xml, CDK generate the
following:
private static boolean isEmpty(Object object)
{
return object == null;
}
and isEmpty("") = false, but it is incorrect.
I think isEmpty method should return true when incoming string doesn't contain any
characters except spaces.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: