> >
> > + public void addObserver(Observer cb) {
> > + if (cb == null) {
> > + throw new NullPointerException("Callback");
> > + }
> >
>
> These types of checks can use Objects.requireNonNullDone. Thanks, Gilles --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
