diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2014-07-18 19:31:41 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2014-07-18 19:31:41 +0000 |
commit | 27b9b2ecbfca055a3aad1eddeefd2c7f4aa62ad7 (patch) | |
tree | bc0179241cc2956b991e95b03ff5acd499a5445f /src/java/org/apache/fop/pdf | |
parent | 7f21c0ae8547429472f10bfd297294d6248b41b6 (diff) | |
download | xmlgraphics-fop-27b9b2ecbfca055a3aad1eddeefd2c7f4aa62ad7.tar.gz xmlgraphics-fop-27b9b2ecbfca055a3aad1eddeefd2c7f4aa62ad7.zip |
Removed unused codeFOP-2393_gradient-rendering
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1611778 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/pdf')
-rw-r--r-- | src/java/org/apache/fop/pdf/PDFFunction.java | 28 | ||||
-rw-r--r-- | src/java/org/apache/fop/pdf/PDFShading.java | 32 |
2 files changed, 0 insertions, 60 deletions
diff --git a/src/java/org/apache/fop/pdf/PDFFunction.java b/src/java/org/apache/fop/pdf/PDFFunction.java index fd860b08c..3ce581d7f 100644 --- a/src/java/org/apache/fop/pdf/PDFFunction.java +++ b/src/java/org/apache/fop/pdf/PDFFunction.java @@ -168,13 +168,6 @@ public class PDFFunction extends PDFObject { } else if (func.getRange() != null) { return false; } - if (function.getSize() != null) { - if (!function.getSize().equals(func.getSize())) { - return false; - } - } else if (func.getSize() != null) { - return false; - } if (function.getEncode() != null) { if (!function.getEncode().equals(func.getEncode())) { return false; @@ -182,27 +175,6 @@ public class PDFFunction extends PDFObject { } else if (func.getEncode() != null) { return false; } - if (function.getDecode() != null) { - if (!function.getDecode().equals(func.getDecode())) { - return false; - } - } else if (func.getDecode() != null) { - return false; - } - if (function.getDataStream() != null) { - if (!function.getDataStream().equals(func.getDataStream())) { - return false; - } - } else if (func.getDataStream() != null) { - return false; - } - if (function.getFilter() != null) { - if (!function.getFilter().equals(func.getFilter())) { - return false; - } - } else if (func.getFilter() != null) { - return false; - } if (!Arrays.equals(function.getCZero(), func.getCZero())) { return false; } diff --git a/src/java/org/apache/fop/pdf/PDFShading.java b/src/java/org/apache/fop/pdf/PDFShading.java index e1784c59d..c4ba5b089 100644 --- a/src/java/org/apache/fop/pdf/PDFShading.java +++ b/src/java/org/apache/fop/pdf/PDFShading.java @@ -47,10 +47,6 @@ public class PDFShading extends PDFObject { private final Shading shading; private final PDFFunction pdfFunction; - /** - * A ColorSpace representing the colorspace. "DeviceRGB" is an example. - */ - protected PDFDeviceColorSpace colorSpace; /** * Constructor for Type 2 and 3 @@ -155,27 +151,6 @@ public class PDFShading extends PDFObject { } else if (other.getColorSpace() != null) { return false; } - if (shading.getBackground() != null) { - if (!shading.getBackground().equals(other.getBackground())) { - return false; - } - } else if (other.getBackground() != null) { - return false; - } - if (shading.getBBox() != null) { - if (!shading.getBBox().equals(other.getBBox())) { - return false; - } - } else if (other.getBBox() != null) { - return false; - } - if (shading.getMatrix() != null) { - if (!shading.getMatrix().equals(other.getMatrix())) { - return false; - } - } else if (other.getMatrix() != null) { - return false; - } if (shading.getCoords() != null) { if (!shading.getCoords().equals(other.getCoords())) { return false; @@ -190,13 +165,6 @@ public class PDFShading extends PDFObject { } else if (other.getExtend() != null) { return false; } - if (shading.getDecode() != null) { - if (!shading.getDecode().equals(other.getDecode())) { - return false; - } - } else if (other.getDecode() != null) { - return false; - } if (shading.getFunction() != null) { if (!shading.getFunction().equals(other.getFunction())) { return false; |