commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Graham <>
Subject Re: [DBUtils] QueryRunner.fillStatement is not static
Date Thu, 07 Jul 2005 00:36:35 GMT
Referencing instance state is not a worthy criteria for making a method
static.  Changing fillStatement() to static would break the many
subclasses that override this method to provide customized behavior. 
Static methods cannot be overridden.


--- Elifarley <> wrote:

> The method 'QueryRunner.fillStatement' is not static even though no
> instance state is referenced. Could it be officially changed into a
> static
> method ?
> (I need to use this functionality but I don't want to instantiate this
> class just to use this method).
> Regards,
> Elifarley

Get Firefox!

Sell on Yahoo! Auctions – no fees. Bid on great items.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message