If you were using Java 8, you could totally have the factory in the
interface now.

On 30 June 2016 at 10:12, sebb <seb...@gmail.com> wrote:

> On 30 June 2016 at 13:59, Emmanuel Bourg <ebo...@apache.org> wrote:
> > Would it make sense to move the factory method to the base class?
> >
> >    CryptoRandom random = CryptoRandom.getInstance();
>
> It's an interface, not a base class.
>
> > Emmanuel Bourg
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> > For additional commands, e-mail: dev-h...@commons.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>


-- 
Matt Sicker <boa...@gmail.com>

Reply via email to