commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles <gil...@harfang.homelinux.org>
Subject [Numbers] Check for "null" in basic operations?
Date Thu, 01 Feb 2018 12:19:43 GMT
Hi.

In class "Complex", some methods check that their argument is
not null.
I don't think that it is necessary since it is an obvious
programming error that will raise a NPE as soon as the
argument is used (i.e. in these cases, at the next statement).

Gilles


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message