From: Andreas L. Delmelle Date: Fri, 15 May 2015 21:09:32 +0000 (+0000) Subject: Minor: removed redundant/unused member from inner class X-Git-Tag: fop-2_0~11 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=306a96161e33ad3b527a760a793317e7d016c5a1;p=xmlgraphics-fop.git Minor: removed redundant/unused member from inner class git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1679646 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/fo/XMLWhiteSpaceHandler.java b/src/java/org/apache/fop/fo/XMLWhiteSpaceHandler.java index cc06ca26a..8bd28caf5 100644 --- a/src/java/org/apache/fop/fo/XMLWhiteSpaceHandler.java +++ b/src/java/org/apache/fop/fo/XMLWhiteSpaceHandler.java @@ -78,7 +78,7 @@ public class XMLWhiteSpaceHandler { private RecursiveCharIterator charIter; private List pendingInlines; - private Stack nestedBlockStack = new java.util.Stack(); + private Stack nestedBlockStack = new java.util.Stack(); private CharIterator firstWhiteSpaceInSeq; /** @@ -225,7 +225,7 @@ public class XMLWhiteSpaceHandler { if (inWhiteSpace) { /* means there is at least one trailing space in the inline FO that is about to end */ - addPendingInline(fo); + addPendingInline(); } } else { /* end of block: clear the references and pop the @@ -366,11 +366,11 @@ public class XMLWhiteSpaceHandler { } } - private void addPendingInline(FObjMixed fo) { + private void addPendingInline() { if (pendingInlines == null) { pendingInlines = new java.util.ArrayList(5); } - pendingInlines.add(new PendingInline(fo, firstWhiteSpaceInSeq)); + pendingInlines.add(new PendingInline(firstWhiteSpaceInSeq)); } private void handlePendingInlines() { @@ -440,11 +440,9 @@ public class XMLWhiteSpaceHandler { * character in the sequence of trailing white-space */ private class PendingInline { - protected FObjMixed fo; protected CharIterator firstTrailingWhiteSpace; - PendingInline(FObjMixed fo, CharIterator firstTrailingWhiteSpace) { - this.fo = fo; + PendingInline(CharIterator firstTrailingWhiteSpace) { this.firstTrailingWhiteSpace = firstTrailingWhiteSpace; } }