commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Barnhill <ericbarnh...@gmail.com>
Subject [numbers/general] unlikely argument type warning
Date Thu, 13 Dec 2018 19:39:05 GMT
For the line:

Assert.assertFalse(zero.equals(Double.valueOf(0)));

Eclipse is producing a warning:

"Unlikely argument type for equals(): Double seems to be unrelated to
Fraction"

Does anyone have a suggestion for how to handle this warning, thank you.

Eric

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message