aherbert commented on code in PR #223:
URL: https://github.com/apache/commons-math/pull/223#discussion_r1002384381
##########
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/stat/descriptive/StorelessUnivariateStatisticAbstractTest.java:
##########
@@ -80,7 +80,7 @@ public void testEqualsAndHashCode() {
(StorelessUnivariateStatistic) getUnivariateStatistic();
StorelessUnivariateStatistic statistic2 = null;
- Assert.assertFalse("non-null, compared to null",
statistic.equals(statistic2));
+ Assert.assertNotEquals("non-null, compared to null", statistic,
statistic2);
Review Comment:
This still needs to be reverted. Thanks.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]