No subject

Fri Aug 6 17:04:17 PDT 2004

1. So getChild() should always return a child or throw an exception.  Null
is not a child.  Exceptions are hard to ignore.  null is too easy to ignore.
2. If the program does not know if a child is present, it should, must, or
ought to be testing with:
boolean hasChild( String s );

Alas, there is no hasChild() ?



More information about the jdom-interest mailing list