On Sun, Sep 6, 2020 at 3:39 PM Gary Gregory <garydgreg...@gmail.com> wrote:

> The idea behind making *Util constructors private is that it does not make
> sense to instantiate a class that only has static methods.

True, but that also eliminates reuse by subclassing, and similar
techniques. In my opinion, static utility methods are discouraged in
the age of injected dependencies.

Jochen



-- 

Look, that's why there's rules, understand? So that you think before
you break 'em.

    -- (Terry Pratchett, Thief of Time)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to