[jdom-interest] malformed URL exception exception in saxbuilder.build due to unreachable URL
Michael Kay
mike at saxonica.com
Sat Feb 11 15:33:14 PST 2012
> Having read some things recently in Effective Java, and also more
> carefully implementing core API's like the Collections API, I am now
> more inclined to do an explicit null check, and throw
> NullPointerException.
I started putting @Nullable and @NotNull assertions into my code, and
this got very confusing. I don't know about other tools, but IntelliJ
gives you warnings if you say @NotNull and then have an "if null" test,
while if you say @Nullable then the wrong information is conveyed to the
user of the API.
Michael Kay
Saxonica
More information about the jdom-interest
mailing list