[jdom-interest] Element.getText() null vs. ""

D Gross justdave at onebox.com
Tue Apr 17 14:48:19 PDT 2001

Element.getText() returns an empty String if the content is null.  The
javadoc says this, but also says it will return null (in the @return
doc).  I think it is more appropriate for it to return null than "",
since "" implies the Element has content.

-- Dave
D Gross
justdave at onebox.com

FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com

More information about the jdom-interest mailing list