commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Rall <...@finemaltcoding.com>
Subject Re: StringUtils constructor is private
Date Mon, 12 Aug 2002 21:30:59 GMT
"Steven Caswell" <steven@caswell.name> 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:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message