This is an automated email from the ASF dual-hosted git repository. erans pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-math.git
commit bf44f34862fd3261cd20b68355bd187a2fb26763 Author: Gilles Sadowski <gillese...@gmail.com> AuthorDate: Mon Jul 19 15:01:39 2021 +0200 "sonarcloud" suggestion. --- .../test/java/org/apache/commons/math4/legacy/linear/BigRealTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/linear/BigRealTest.java b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/linear/BigRealTest.java index 03444c4..9c25404 100644 --- a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/linear/BigRealTest.java +++ b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/linear/BigRealTest.java @@ -177,7 +177,7 @@ public class BigRealTest { Assert.assertTrue(one.equals(BigReal.ONE)); BigReal oneWithScaleOne = new BigReal(new BigDecimal("1.0")); BigReal oneWithScaleTwo = new BigReal(new BigDecimal("1.00")); - Assert.assertTrue(oneWithScaleOne.equals(oneWithScaleTwo)); + Assert.assertEquals(oneWithScaleOne, oneWithScaleTwo); } @Test