directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Seelmann <seelm...@apache.org>
Subject Re: [Shared] AddRequestCodec
Date Fri, 04 Jun 2010 13:10:55 GMT
Emmanuel Lecharny wrote:
> 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 ;)

Isn't there a mail plugin for Eclipse that provides code completion?



Mime
View raw message