<option id="test" />
Both of these lines throw a NPE.
options.getInteger("test","doesNotExists"); options.getOption("test").getInteger("doesNotExists");
Instead null must be returned as said by JavaDoc.
<option id="test" />
Both of these lines throw a NPE.
options.getInteger("test","doesNotExists"); options.getOption("test").getInteger("doesNotExists");
Instead null must be returned as said by JavaDoc.