diff options
author | Adrian Cumiskey <acumiskey@apache.org> | 2007-12-05 17:47:44 +0000 |
---|---|---|
committer | Adrian Cumiskey <acumiskey@apache.org> | 2007-12-05 17:47:44 +0000 |
commit | 5b56a7310366ae5550cb8b463f99a832e2f9d83c (patch) | |
tree | b5440a321bce4500bc9797d8949fc6a12d06dd95 /src | |
parent | 931d00c27c08ef29452daef051954c13b77277e5 (diff) | |
download | xmlgraphics-fop-5b56a7310366ae5550cb8b463f99a832e2f9d83c.tar.gz xmlgraphics-fop-5b56a7310366ae5550cb8b463f99a832e2f9d83c.zip |
Checkstyle fixes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601447 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/java/org/apache/fop/render/afp/modca/ImageRasterPattern.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/java/org/apache/fop/render/afp/modca/ImageRasterPattern.java b/src/java/org/apache/fop/render/afp/modca/ImageRasterPattern.java index 422eeb33d..373e50631 100644 --- a/src/java/org/apache/fop/render/afp/modca/ImageRasterPattern.java +++ b/src/java/org/apache/fop/render/afp/modca/ImageRasterPattern.java @@ -685,6 +685,7 @@ public class ImageRasterPattern { * grey scale specified. The scale should be between 0 (darkest) * and 16 (lightest). * @param greyscale The grey scale value (0 - 16) + * @return the raster data byte array for the given greyscale value */ public static byte[] getRasterData(int greyscale) { @@ -751,13 +752,8 @@ public class ImageRasterPattern { } for (int i = 0; i < repeat; i++) { - System.arraycopy(greypattern, 0, rasterdata, i * 32, 32); - } - return rasterdata; - } - } |