diff options
author | Adrian Cumiskey <acumiskey@apache.org> | 2007-12-05 17:28:03 +0000 |
---|---|---|
committer | Adrian Cumiskey <acumiskey@apache.org> | 2007-12-05 17:28:03 +0000 |
commit | c278c99ef16c18bf9243432ae706e1bf1adb3393 (patch) | |
tree | 4d70fe84f05b1cc61ddd69c83ab2c025ae8d072c | |
parent | c988c55b3a4695af3e7674afd661151c8681281b (diff) | |
download | xmlgraphics-fop-c278c99ef16c18bf9243432ae706e1bf1adb3393.tar.gz xmlgraphics-fop-c278c99ef16c18bf9243432ae706e1bf1adb3393.zip |
Checkstyle fixes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601430 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/java/org/apache/fop/render/afp/tools/StructuredFieldReader.java | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/java/org/apache/fop/render/afp/tools/StructuredFieldReader.java b/src/java/org/apache/fop/render/afp/tools/StructuredFieldReader.java index 4871c9528..433e600f9 100644 --- a/src/java/org/apache/fop/render/afp/tools/StructuredFieldReader.java +++ b/src/java/org/apache/fop/render/afp/tools/StructuredFieldReader.java @@ -43,23 +43,22 @@ public class StructuredFieldReader { /** * The input stream to read */ - private InputStream _inputStream = null; + private InputStream inputStream = null; /** * The constructor for the StructuredFieldReader * @param inputStream the input stream to process */ public StructuredFieldReader(InputStream inputStream) { - - _inputStream = inputStream; - + this.inputStream = inputStream; } /** * Get the next structured field as identified by the identifer * parameter (this must be a valid MO:DCA structured field. * @param identifier the three byte identifier - * @throws IOException + * @throws IOException if an I/O exception occurred + * @return the next structured field */ public byte[] getNext(byte[] identifier) throws IOException { @@ -70,7 +69,7 @@ public class StructuredFieldReader { } int c; - while ((c = _inputStream.read()) > -1) { + while ((c = inputStream.read()) > -1) { bufferData[bufferPointer] = (byte) c; @@ -116,7 +115,7 @@ public class StructuredFieldReader { byte[] retval = new byte[reclength]; - _inputStream.read(retval, 0, reclength); + inputStream.read(retval, 0, reclength); return retval; @@ -131,7 +130,5 @@ public class StructuredFieldReader { return new byte[] { }; - } - } |