On Wed, 29 Mar 2023 08:13:06 GMT, Per Minborg <pminb...@openjdk.org> wrote:

> Non-instantiable utility classes should be declared `final` and have a 
> private constructors. 
> 
> See Effective Java, Third Edition, Joshua Bloch (for example, Item 19 or Item 
> 22).

Look fine, it can't be subclassed anyway so there is no compatibility impact.

-------------

Marked as reviewed by alanb (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/13221#pullrequestreview-1362514656

Reply via email to