commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject [commons-numbers] 01/03: Disable SonarQube rule.
Date Thu, 05 Dec 2019 01:48:01 GMT
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-numbers.git

commit 5fec6e10970a7e17e36f5924a14741c726f1ab46
Author: Gilles Sadowski <gilles@harfang.homelinux.org>
AuthorDate: Thu Dec 5 02:23:15 2019 +0100

    Disable SonarQube rule.
    
    The rule was triggered whatever the order of the assertion arguments.
---
 .../java/org/apache/commons/numbers/angle/PlaneAngleRadiansTest.java     | 1 +
 1 file changed, 1 insertion(+)

diff --git a/commons-numbers-angle/src/test/java/org/apache/commons/numbers/angle/PlaneAngleRadiansTest.java
b/commons-numbers-angle/src/test/java/org/apache/commons/numbers/angle/PlaneAngleRadiansTest.java
index 27a99e3..35b3f9d 100644
--- a/commons-numbers-angle/src/test/java/org/apache/commons/numbers/angle/PlaneAngleRadiansTest.java
+++ b/commons-numbers-angle/src/test/java/org/apache/commons/numbers/angle/PlaneAngleRadiansTest.java
@@ -24,6 +24,7 @@ import org.junit.jupiter.api.Test;
  */
 public class PlaneAngleRadiansTest {
     @Test
+    SuppressWarnings("squid:S3415")
     public void testConstants() {
         final double eps = 0;
 


Mime
View raw message