On Sep 6, 2007, at 11:44 PM, Rainer User wrote:

Why i have to use personName.equals("") +and+ personName==null to detect if personName is empty or not?

personName could have a null value or it could be a non-null String object whose value is the empty string. Both situations indicate a personName with no value, so both conditions need to be tested.

Aloha,
Art

 _______________________________________________
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]

Reply via email to