Or use WOGroovy and do it the groovy way:
Groovy has a safe dereference operator ?.
http://groovy.codehaus.org/Null+Object+Pattern
many regards
Cornelius
On 07.09.2007, at 22:00, Kieran Kelleher wrote:
And if you want to save yourself the PITA, just throw in apache
commons lang jar into your own foundation framework and use the
many useful standardized utilities that are in there:
http://commons.apache.org/lang/
For example check out StringUtilis.isBlank(...) and
StringUtils.isEmpty(...) at
http://commons.apache.org/lang/api-release/index.html
regards, Kieran
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]