diff options
author | Adrian Cumiskey <acumiskey@apache.org> | 2007-12-05 17:48:56 +0000 |
---|---|---|
committer | Adrian Cumiskey <acumiskey@apache.org> | 2007-12-05 17:48:56 +0000 |
commit | f73afc481cb73eb29a753e40f502ae07333425c5 (patch) | |
tree | 1110d56344a3f7fa92e20be00058f95ba032838e /src/java/org | |
parent | 5b56a7310366ae5550cb8b463f99a832e2f9d83c (diff) | |
download | xmlgraphics-fop-f73afc481cb73eb29a753e40f502ae07333425c5.tar.gz xmlgraphics-fop-f73afc481cb73eb29a753e40f502ae07333425c5.zip |
Checkstyle fixes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601448 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org')
-rw-r--r-- | src/java/org/apache/fop/render/afp/modca/ImageInputDescriptor.java | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/java/org/apache/fop/render/afp/modca/ImageInputDescriptor.java b/src/java/org/apache/fop/render/afp/modca/ImageInputDescriptor.java index 071cdcee9..bba416c88 100644 --- a/src/java/org/apache/fop/render/afp/modca/ImageInputDescriptor.java +++ b/src/java/org/apache/fop/render/afp/modca/ImageInputDescriptor.java @@ -33,16 +33,15 @@ public class ImageInputDescriptor extends AbstractAFPObject { /** * The resolution of the raster image (default 240) */ - private int _resolution = 240; + private int resolution = 240; /** * Accessor method to write the AFP datastream for the Image Input Descriptor * @param os The stream to write to - * @throws java.io.IOException + * @throws java.io.IOException if an I/O exception occurred */ - public void writeDataStream(OutputStream os) - throws IOException { + public void writeDataStream(OutputStream os) throws IOException { byte[] data = new byte[45]; @@ -75,7 +74,7 @@ public class ImageInputDescriptor extends AbstractAFPObject { // Y Base (Fixed x00) data[22] = 0x00; - byte[] imagepoints = BinaryUtils.convert(_resolution * 10, 2); + byte[] imagepoints = BinaryUtils.convert(resolution * 10, 2); /** * Specifies the number of image points per unit base for the X axis @@ -141,7 +140,7 @@ public class ImageInputDescriptor extends AbstractAFPObject { * @param resolution The resolution value */ public void setResolution(int resolution) { - _resolution = resolution; + this.resolution = resolution; } }
\ No newline at end of file |