You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ac...@apache.org on 2007/12/05 18:48:57 UTC

svn commit: r601448 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/render/afp/modca/ImageInputDescriptor.java

Author: acumiskey
Date: Wed Dec  5 09:48:56 2007
New Revision: 601448

URL: http://svn.apache.org/viewvc?rev=601448&view=rev
Log:
Checkstyle fixes

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/render/afp/modca/ImageInputDescriptor.java

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/afp/modca/ImageInputDescriptor.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/afp/modca/ImageInputDescriptor.java?rev=601448&r1=601447&r2=601448&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/afp/modca/ImageInputDescriptor.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/afp/modca/ImageInputDescriptor.java Wed Dec  5 09:48:56 2007
@@ -33,16 +33,15 @@
     /**
      * 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 @@
         // 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 @@
      * @param resolution The resolution value
      */
     public void setResolution(int resolution) {
-        _resolution = resolution;
+        this.resolution = resolution;
     }
 
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org