Le 29/09/2016 à 02:55, Brent Worden a écrit :

> If it is only used by RandomSource, would making ProviderBuilder a private,
> inner class provide better isolation and further prevent misuse?

>From a user point of view this would make no difference. A separate
package private class is as good as a static private inner class.

That said other simplifications are certainly possible, for example the
RandomSourceInternal enum in ProviderBuilder could be merged into
RandomSource. There is no benefit in duplicating this enumeration

Emmanuel Bourg


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to