From f73afc481cb73eb29a753e40f502ae07333425c5 Mon Sep 17 00:00:00 2001 From: Adrian Cumiskey Date: Wed, 5 Dec 2007 17:48:56 +0000 Subject: Checkstyle fixes git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601448 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/fop/render/afp/modca/ImageInputDescriptor.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/java/org') 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 -- cgit v1.2.3