If you were using Java 8, you could totally have the factory in the interface now.
On 30 June 2016 at 10:12, sebb <[email protected]> wrote: > On 30 June 2016 at 13:59, Emmanuel Bourg <[email protected]> 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: [email protected] > > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Matt Sicker <[email protected]>
