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 2022/05/21 20:13:44 UTC

[commons-imaging] branch master updated: Remove unused private method

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 01d64e40 Remove unused private method
01d64e40 is described below

commit 01d64e408830c9b09280a5d24115f739fcf25199
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat May 21 16:13:40 2022 -0400

    Remove unused private method
---
 src/main/java/org/apache/commons/imaging/color/ColorConversions.java | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/main/java/org/apache/commons/imaging/color/ColorConversions.java b/src/main/java/org/apache/commons/imaging/color/ColorConversions.java
index 4b257010..d9aa60ab 100644
--- a/src/main/java/org/apache/commons/imaging/color/ColorConversions.java
+++ b/src/main/java/org/apache/commons/imaging/color/ColorConversions.java
@@ -513,10 +513,6 @@ public final class ColorConversions {
         return convertRGBtoRGB(red, green, blue);
     }
 
-    private static double cube(final double f) {
-        return f * f * f;
-    }
-
     private static double square(final double f) {
         return f * f;
     }