directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel L├ęcharny <>
Subject Re: Some few classes to move out of model ?
Date Tue, 22 Mar 2011 22:49:43 GMT
On 3/22/11 11:15 PM, Stefan Seelmann wrote:
>> For instance, the DnPlaser class (well, it's not even a class, it's an enum,
>> which sound very strange to me)
> I just followed Joshua Bloch's "Effective Java(TM) Second Edition":
> Item 3: Enforce the singleton property with (...) an enum type.

Good idea.
> But
> now that the parsers are only used from the Dn/Rdn class that may not
> make sense anymore.
Well, I think it does make sense. I kept the enum around, I just changed 
the enum to be package protected.

Emmanuel L├ęcharny

View raw message