Martin Desruisseaux ha scritto:
> Andrea Aime a écrit :
>> The idiomatic way to make enums pre java5 is lists of integers, as the
>> jdk extensively shows. Let's keep on it when we backport to 2.4.x
> 
> 
> I'm fine with that. Using a class in 2.4 was just a way to keep it compatible
> with enum. I mean, if we replace a Class by an Enum when upgrating from 2.4 to
> 2.5, the user just need to recompile his code. If we replace an integer by 
> enum,
> then the user may need to update some of his code.

Right, you got a point there. Ok, I'll keep that in mind if we manage to 
backport my mosaic fixes to 2.4.x. Thanks for sharing :)

Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to