aboutsummaryrefslogtreecommitdiffstats
path: root/src/java
diff options
context:
space:
mode:
authorAndreas L. Delmelle <adelmelle@apache.org>2015-05-15 21:09:32 +0000
committerAndreas L. Delmelle <adelmelle@apache.org>2015-05-15 21:09:32 +0000
commit306a96161e33ad3b527a760a793317e7d016c5a1 (patch)
treea9c25bcc8d817f16734a8a0adb10a4dd736ed966 /src/java
parent72a1744b400259f25292ef58c3ba339af7dc1fe0 (diff)
downloadxmlgraphics-fop-306a96161e33ad3b527a760a793317e7d016c5a1.tar.gz
xmlgraphics-fop-306a96161e33ad3b527a760a793317e7d016c5a1.zip
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
Diffstat (limited to 'src/java')
-rw-r--r--src/java/org/apache/fop/fo/XMLWhiteSpaceHandler.java12
1 files changed, 5 insertions, 7 deletions
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<Block>();
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;
}
}