> >
> > +    public void addObserver(Observer cb) {
> > +        if (cb == null) {
> > +            throw new NullPointerException("Callback");
> > +        }
> >
>
> These types of checks can use Objects.requireNonNull

Done.

Thanks,
Gilles

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

Reply via email to