Author: vhennebert
Date: Thu Jun 19 06:58:19 2014
New Revision: 1603726

URL: http://svn.apache.org/r1603726
Log:
footnoteList cannot be null there; instead we want to check if it's empty

Modified:
    
xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/list/ListItemLayoutManager.java

Modified: 
xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/list/ListItemLayoutManager.java
URL: 
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/list/ListItemLayoutManager.java?rev=1603726&r1=1603725&r2=1603726&view=diff
==============================================================================
--- 
xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/list/ListItemLayoutManager.java
 (original)
+++ 
xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/list/ListItemLayoutManager.java
 Thu Jun 19 06:58:19 2014
@@ -331,7 +331,7 @@ public class ListItemLayoutManager exten
             addedBoxHeight += boxHeight;
             ListItemPosition stepPosition = new ListItemPosition(this,
                     start[0], end[0], start[1], end[1]);
-            if (footnoteList == null) {
+            if (footnoteList.isEmpty()) {
                 returnList.add(new KnuthBox(boxHeight, stepPosition, false));
             } else {
                 returnList.add(new KnuthBlockBox(boxHeight, footnoteList, 
stepPosition, false));



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to