Author: jahewson Date: Sat Mar 8 03:18:16 2014 New Revision: 1575475 URL: http://svn.apache.org/r1575475 Log: PDFBOX-1966: toShadingPaint and toTilingPaint should be private
Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDPattern.java Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDPattern.java URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDPattern.java?rev=1575475&r1=1575474&r2=1575475&view=diff ============================================================================== --- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDPattern.java (original) +++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDPattern.java Sat Mar 8 03:18:16 2014 @@ -135,7 +135,7 @@ public final class PDPattern extends PDS } } - public Paint toTilingPaint(PDFRenderer renderer, PDTilingPattern tilingPattern, PDColor color) + private Paint toTilingPaint(PDFRenderer renderer, PDTilingPattern tilingPattern, PDColor color) throws IOException { if (tilingPattern.getPaintType() == PDTilingPattern.PAINT_COLORED) @@ -150,7 +150,7 @@ public final class PDPattern extends PDS } } - public Paint toShadingPaint(PDShadingPattern shadingPattern, int pageHeight) throws IOException + private Paint toShadingPaint(PDShadingPattern shadingPattern, int pageHeight) throws IOException { PDShading shadingResources = shadingPattern.getShading(); int shadingType = shadingResources != null ? shadingResources.getShadingType() : 0;