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 2023/06/03 21:53:59 UTC

[commons-imaging] branch master updated: Format tweak

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 4aeab1c2 Format tweak
4aeab1c2 is described below

commit 4aeab1c2ef3f25c2894b8db3f505d16271fa3832
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jun 3 17:53:48 2023 -0400

    Format tweak
---
 src/main/java/org/apache/commons/imaging/common/RationalNumber.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/imaging/common/RationalNumber.java b/src/main/java/org/apache/commons/imaging/common/RationalNumber.java
index d656a69c..d16159f5 100644
--- a/src/main/java/org/apache/commons/imaging/common/RationalNumber.java
+++ b/src/main/java/org/apache/commons/imaging/common/RationalNumber.java
@@ -245,7 +245,7 @@ public class RationalNumber extends Number {
 
     @Override
     public int intValue() {
-        return (int)(numerator / divisor);
+        return (int) (numerator / divisor);
     }
 
     @Override