[jsword-devel] Change to API behaviour?

Chris Burrell chris at burrell.me.uk
Sun Feb 27 03:30:36 MST 2011


Hi

I was just wondering what the impact would be if we changed

Books.installed().getBook(version)

so that if "version" doesn't exist or is null, an exception is thrown rather
than a null passed back.

It's a small change, but sometimes null pointer exceptions are quite
difficult to track down. Having said that it probably impacts a number of
projects.

Any thoughts?
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/jsword-devel/attachments/20110227/ff9c504d/attachment.html>


More information about the jsword-devel mailing list