You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2025/03/26 11:53:11 UTC
(commons-numbers) 04/14: Sonar fix: Remove commented out code (ported from Commons Math)
This is an automated email from the ASF dual-hosted git repository.
aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-numbers.git
commit d3e93169843e66699686b6add564b6d24fafa0fc
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Tue Mar 25 14:52:12 2025 +0000
Sonar fix: Remove commented out code (ported from Commons Math)
---
.../test/java/org/apache/commons/numbers/complex/ComplexTest.java | 5 -----
1 file changed, 5 deletions(-)
diff --git a/commons-numbers-complex/src/test/java/org/apache/commons/numbers/complex/ComplexTest.java b/commons-numbers-complex/src/test/java/org/apache/commons/numbers/complex/ComplexTest.java
index dd96b09a..286b81c0 100644
--- a/commons-numbers-complex/src/test/java/org/apache/commons/numbers/complex/ComplexTest.java
+++ b/commons-numbers-complex/src/test/java/org/apache/commons/numbers/complex/ComplexTest.java
@@ -99,11 +99,6 @@ class ComplexTest {
void testJava() {
// CHECKSTYLE: stop Regexp
System.out.println(">>testJava()");
- // MathTest#testExpSpecialCases() checks the following:
- // Assert.assertEquals("exp of -infinity should be 0.0", 0.0,
- // Math.exp(Double.NEGATIVE_INFINITY), Precision.EPSILON);
- // Let's check how well Math works:
- System.out.println("Math.exp=" + Math.exp(Double.NEGATIVE_INFINITY));
final String[] props = {"java.version", // Java Runtime Environment version
"java.vendor", // Java Runtime Environment vendor
"java.vm.specification.version", // Java Virtual Machine specification version