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:24:26 GMT
"Geir Magnusson Jr." <geirm@adeptra.com> writes:

> On the other hand, its a general thing :  I think that for general utility
> classes that can be instantiated with an argless constructor, having it
> public makes it easy for any 'tool using' code that want to instantiate
> dynamically

Which is why I would prefer a protected to public ctor -- the use case
for instantiation is still open with minimal work on the user's part,
but it is not directly encouraged by the API.
-- 

Daniel Rall <dlr@finemaltcoding.com>

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