On 6/4/10 2:58 PM, Felix Knecht wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

A NPE may be thrown at line 280 if 'entry==null'. As the method doesn't
declares a thrown exception I suppose that a default length (like -1)
should be returned if the coumputing fails?
Good point. I think we can test that the entry is not null, and if so, throw an IllegalArgumentException (IAE in the next ten mails, as i'm fedup of typing it everytime in extenso ;)


--
Regards,
Cordialement,
Emmanuel Lécharny
www.nextury.com


Reply via email to