aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/layoutmgr/InlineKnuthSequence.java
diff options
context:
space:
mode:
authorGlenn Adams <gadams@apache.org>2012-03-02 21:34:30 +0000
committerGlenn Adams <gadams@apache.org>2012-03-02 21:34:30 +0000
commit9826acf1e8c3552abc295ba34384292ae6db51b3 (patch)
treefcca84f17d36fa77846b3d5313a73820cae01366 /src/java/org/apache/fop/layoutmgr/InlineKnuthSequence.java
parent5494cc056a64aa2c66727087435cad880a896486 (diff)
downloadxmlgraphics-fop-9826acf1e8c3552abc295ba34384292ae6db51b3.tar.gz
xmlgraphics-fop-9826acf1e8c3552abc295ba34384292ae6db51b3.zip
enable MultipleVariableDeclarations rule; fix violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296483 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/layoutmgr/InlineKnuthSequence.java')
-rw-r--r--src/java/org/apache/fop/layoutmgr/InlineKnuthSequence.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/InlineKnuthSequence.java b/src/java/org/apache/fop/layoutmgr/InlineKnuthSequence.java
index 81df3c992..684977b9c 100644
--- a/src/java/org/apache/fop/layoutmgr/InlineKnuthSequence.java
+++ b/src/java/org/apache/fop/layoutmgr/InlineKnuthSequence.java
@@ -70,7 +70,8 @@ public class InlineKnuthSequence extends KnuthSequence {
return false;
}
// does the first element of the first paragraph add to an existing word?
- ListElement lastOldElement, firstNewElement;
+ ListElement lastOldElement;
+ ListElement firstNewElement;
lastOldElement = getLast();
firstNewElement = sequence.getElement(0);
if (firstNewElement.isBox() && !((KnuthElement) firstNewElement).isAuxiliary()