On Wed, Sep 28, 2016 at 6:08 PM, Emmanuel Bourg <[email protected]> wrote:

> Le 28/09/2016 à 17:11, Gilles a écrit :
>
> > This what you've done, but it doesn't say why.
>
> The class is only used by RandomSource, moving it to the same package
> and marking it package private ensures that it can't be mistakenly used
> (even if it's marked as internal).
>
> Emmanuel Bourg
>
>
If it is only used by RandomSource, would making ProviderBuilder a private,
inner class provide better isolation and further prevent misuse?

Brent

Reply via email to