commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Rall <>
Subject Re: StringUtils constructor is private
Date Mon, 12 Aug 2002 21:30:59 GMT
"Steven Caswell" <> writes:

> I was under the impression that Velocity could not invoke static
> methods. If this is true, then creating an instance of StringUtils would
> not do any good. Hence I am -1 on putting in a public constructor since
> it is generally good practice to prevent construction of an instance of
> a class that has no member methods.

Velocity will invoke static methods on an instance, just as Java will.

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

View raw message