commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <scolebou...@btopenworld.com>
Subject Re: [lang] Action-taken [Was: StringUtils constructor is private]
Date Mon, 12 Aug 2002 21:05:20 GMT
From: "Geir Magnusson Jr." <geirm@adeptra.com>
> > I actually quite strongly dislike making the constructor public. Its
> > basically a flaw in Velocity that we're coding for.
>
> Not quite clear to me that using Class.newInstance() to dynamically create
> instances is a flaw...

All I'm saying is that Velocity should be able to allow you to call a static
method without needing an instance. It is excluding every static utils
method class I've ever written until now by not doing so. Its a flaw because
the class shouldn't be instantiated.

Stephen


--
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