Hey Sebb,

On Mon, Jul 14, 2008 at 5:08 AM, sebb <[EMAIL PROTECTED]> wrote:
> The Hex class has a mix of static and instance methods, which is a bit
> confusing.
>
> The class does not have any state at all, so all the methods could be static.
>
> Perhaps we should consider adding static versions of the instance
> methods (and have the instance methods call these), with a view to
> perhaps deprecating the instance methods at some stage?

How about just making the existing methods static? Static analysis
tools like findbugs will probably complain that they are using an
instance rather than the class name to refer to the newly-static
methods, but no big deal.

> Views?

Regards,
James

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to