Hello.

Le jeu. 23 mai 2019 à 13:43, Alex Herbert <alex.d.herb...@gmail.com> a écrit :
>
> [rng] has three classes with a private constructor that are not
> currently marked as final. 1 is public and 2 are package private.
>
> If I mark them as final then clirr:check ignores the package private
> ones and produces this warning for the public one:

If it's a "Warning" and not an "Error", I don't think that it could
count as a release blocker.  [Confirmation from PMC members
welcome...]

>
> "Added final modifier to class, but class was effectively final anyway"
>
>
> Given the class could not have been extended (due to a private
> constructor) it seems OK to allow the final modifier.

I think so.

>
> So can the final modifier be added? Is there a precedent here with
> regard to releases?

Cf. above.

Gilles

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

Reply via email to