You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2020/08/23 08:36:34 UTC

svn commit: r1881104 - /pdfbox/branches/issue45/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDICCBased.java

Author: tilman
Date: Sun Aug 23 08:36:34 2020
New Revision: 1881104

URL: http://svn.apache.org/viewvc?rev=1881104&view=rev
Log:
PDFBOX-4847: revert insertion of getter that isn't used because it is unreliable on openjdk, but leave a comment

Modified:
    pdfbox/branches/issue45/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDICCBased.java

Modified: pdfbox/branches/issue45/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDICCBased.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/issue45/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDICCBased.java?rev=1881104&r1=1881103&r2=1881104&view=diff
==============================================================================
--- pdfbox/branches/issue45/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDICCBased.java (original)
+++ pdfbox/branches/issue45/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDICCBased.java Sun Aug 23 08:36:34 2020
@@ -183,16 +183,6 @@ public final class PDICCBased extends PD
     }
 
     /**
-     * Tell whether this is an sRGB colorspace
-     *
-     * @return
-     */
-    public boolean issRGB()
-    {
-        return isRGB;
-    }
-
-    /**
      * Get the underlying ICC profile stream.
      * @return the underlying ICC profile stream
      */
@@ -309,7 +299,8 @@ public final class PDICCBased extends PD
     }
 
     /**
-     * Returns true if the given profile is represents sRGB.
+     * Returns true if the given profile represents sRGB.
+     * (unreliable on the data of ColorSpace.CS_sRGB in openjdk)
      */
     private boolean is_sRGB(ICC_Profile profile)
     {