This is an automated email from the ASF dual-hosted git repository.

mattjuntunen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-geometry.git


The following commit(s) were added to refs/heads/master by this push:
     new afde7ad  fixing checkstyle suppression on windows; adjusting unit test 
value for more consistent result sorting
afde7ad is described below

commit afde7adad1d9e7b893d37a8278812aaff6590313
Author: Matt Juntunen <mattjuntu...@apache.org>
AuthorDate: Sat Jul 4 21:38:11 2020 -0400

    fixing checkstyle suppression on windows; adjusting unit test value for 
more consistent result sorting
---
 .../org/apache/commons/geometry/spherical/twod/ConvexArea2STest.java    | 2 +-
 src/main/resources/checkstyle/checkstyle-suppressions.xml               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/commons-geometry-spherical/src/test/java/org/apache/commons/geometry/spherical/twod/ConvexArea2STest.java
 
b/commons-geometry-spherical/src/test/java/org/apache/commons/geometry/spherical/twod/ConvexArea2STest.java
index a982560..6683be5 100644
--- 
a/commons-geometry-spherical/src/test/java/org/apache/commons/geometry/spherical/twod/ConvexArea2STest.java
+++ 
b/commons-geometry-spherical/src/test/java/org/apache/commons/geometry/spherical/twod/ConvexArea2STest.java
@@ -228,7 +228,7 @@ public class ConvexArea2STest {
     @Test
     public void testFromBounds_triangle_small() {
         // arrange
-        final double azMin = 1.125 * PlaneAngleRadians.PI;
+        final double azMin = 1.12 * PlaneAngleRadians.PI;
         final double azMax = 1.375 * PlaneAngleRadians.PI;
         final double azMid = 0.5 * (azMin + azMax);
         final double polarTop = 0.1;
diff --git a/src/main/resources/checkstyle/checkstyle-suppressions.xml 
b/src/main/resources/checkstyle/checkstyle-suppressions.xml
index 092a279..5ae72a3 100644
--- a/src/main/resources/checkstyle/checkstyle-suppressions.xml
+++ b/src/main/resources/checkstyle/checkstyle-suppressions.xml
@@ -28,7 +28,7 @@
   <!-- allow Vector3D.linearCombination() methods -->
   <suppress checks="ParameterNumber" files=".*[/\\]threed[/\\]Vector3D" />
   <!-- allow internal, non-array 
QuaterionRotation.orthogonalRotationMatrixToQuaternion() method -->
-  <suppress checks="ParameterNumber" 
files=".*[/\\]threed/rotation[/\\]QuaternionRotation" />
+  <suppress checks="ParameterNumber" 
files=".*[/\\]threed[/\\]rotation[/\\]QuaternionRotation" />
   <!-- allow Vector2D.linearCombination() methods -->
   <suppress checks="ParameterNumber" files=".*[/\\]twod[/\\]Vector2D" />
   <!-- Prevent subclass error on generic package-private methods (checkstyle 
parsing issue?) -->

Reply via email to