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:38 UTC
svn commit: r1881105 -
/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDICCBased.java
Author: tilman
Date: Sun Aug 23 08:36:38 2020
New Revision: 1881105
URL: http://svn.apache.org/viewvc?rev=1881105&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/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDICCBased.java
Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDICCBased.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDICCBased.java?rev=1881105&r1=1881104&r2=1881105&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDICCBased.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDICCBased.java Sun Aug 23 08:36:38 2020
@@ -170,16 +170,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
*/
@@ -274,7 +264,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)
{