You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2019/03/31 13:39:35 UTC

[commons-imaging] branch master updated: These casts are not needed.

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 466722a  These casts are not needed.
466722a is described below

commit 466722afe5971f480b8f6a8b76e389cecce6237b
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Mar 31 09:39:28 2019 -0400

    These casts are not needed.
---
 .../org/apache/commons/imaging/common/RationalNumberTest.java     | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/test/java/org/apache/commons/imaging/common/RationalNumberTest.java b/src/test/java/org/apache/commons/imaging/common/RationalNumberTest.java
index 0b05997..9c88dec 100644
--- a/src/test/java/org/apache/commons/imaging/common/RationalNumberTest.java
+++ b/src/test/java/org/apache/commons/imaging/common/RationalNumberTest.java
@@ -93,15 +93,15 @@ public class RationalNumberTest extends ImagingTest {
                 34d, //
 
                 (double) Integer.MAX_VALUE, //
-                (double) Integer.MAX_VALUE + 0.1, //
-                (double) Integer.MAX_VALUE - 0.1, //
+                Integer.MAX_VALUE + 0.1, //
+                Integer.MAX_VALUE - 0.1, //
                 (double) -(Integer.MAX_VALUE), //
                 -(Integer.MAX_VALUE + 0.1), //
                 -(Integer.MAX_VALUE - 0.1), //
 
                 (double) Long.MAX_VALUE, //
-                (double) Long.MAX_VALUE + 0.1, //
-                (double) Long.MAX_VALUE - 0.1, //
+                Long.MAX_VALUE + 0.1, //
+                Long.MAX_VALUE - 0.1, //
                 (double) -(Long.MAX_VALUE), //
                 -(Long.MAX_VALUE + 0.1), //
                 -(Long.MAX_VALUE - 0.1) //