Re: [lang] NPE vs IAE

2020-02-29 Thread Gilles Sadowski
Le sam. 29 févr. 2020 à 18:39, Gary Gregory a écrit : > > On Sat, Feb 22, 2020 at 5:25 PM Gary Gregory wrote: > > > I would like to do the same in Lang as with Collections (see below.)\ > > > > We currently perform checks like: > > > > Validate.isTrue(foo != null, ...) > > > > Which should be IMO

Re: [lang] NPE vs IAE

2020-02-29 Thread Gary Gregory
On Sat, Feb 22, 2020 at 5:25 PM Gary Gregory wrote: > I would like to do the same in Lang as with Collections (see below.)\ > > We currently perform checks like: > > Validate.isTrue(foo != null, ...) > > Which should be IMO: > > Validate.notNull(foo, ...); > > The difference being that the former

Re: [collections] Bloom filters

2020-02-29 Thread Alex Herbert
> On 29 Feb 2020, at 07:46, Claude Warren wrote: > > Alex would you take a look at pull request 131 [1]. it adds a new hasher > implementation and makes the HashFunctionValidator available for public use. > > https://github.com/apache/commons-collections/pull/131 >