[infinispan-dev] Avoid Collections.emptySet() / emptyMap() / emptyList
Emmanuel Bernard
emmanuel at hibernate.org
Wed Oct 24 05:32:12 EDT 2012
On Wed 2012-10-24 12:21, Dan Berindei wrote:
> On Tue, Oct 23, 2012 at 11:42 PM, Emmanuel Bernard
> <emmanuel at hibernate.org>wrote:
>
> > On Tue 2012-10-23 22:42, Dan Berindei wrote:
> > > I was probably overreacting, but I just wouldn't want us to end up with
> > > rules like 'all method parameters must be final' ;-)
> >
> > Well, that's good practice anyways, you should enforce that. I know we
> > do in the Hibernate team.
> >
>
>
> Oops :)
>
> I'm not saying it's bad, and maybe if the code base started this way it's
> even easy to manage. But it's a matter of style, not a matter of
> performance, and I definitely wouldn't want us to start enforcing it in
> Infinispan.
Guys I was joking :)
More information about the infinispan-dev
mailing list