The idea behind not making *Util constructors private is that it makes
people be able to extend that class.
for example:
https://github.com/apache/commons-lang/blob/master/src/main/java/org/apache/commons/lang3/StringUtils.java#L9627

Gary Gregory <garydgreg...@gmail.com> 于2020年9月6日周日 下午9:39写道:

> The idea behind making *Util constructors private is that it does not make
> sense to instantiate a class that only has static methods.
>
> Gary
>
>
> On Sun, Sep 6, 2020 at 12:49 AM Xeno Amess <xenoam...@gmail.com> wrote:
>
> > for example: can we make its constructor public instead of private?
> >
>

Reply via email to