]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
FOP-1760: Findbugs Temp_ChangeBars2 12/head Temp_ChangeBars2
authorSimon Steiner <ssteiner@apache.org>
Thu, 5 Jul 2018 12:35:12 +0000 (12:35 +0000)
committerSimon Steiner <ssteiner@apache.org>
Thu, 5 Jul 2018 12:35:12 +0000 (12:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ChangeBars2@1835133 13f79535-47bb-0310-9956-ffa450edef68

fop-core/src/main/java/org/apache/fop/area/inline/InlineBlock.java
fop-core/src/main/java/org/apache/fop/layoutmgr/inline/LeaderLayoutManager.java

index 7a4f94db90e69a73138c61aefc0839f68f6614a4..9b5f9670851f2de4e96b80c31993b621d8462d02 100644 (file)
@@ -27,6 +27,7 @@ import org.apache.fop.area.Block;
  */
 public class InlineBlock extends InlineParent {
 
+    private static final long serialVersionUID = -3725062353292109517L;
     private final Block block;
 
     public InlineBlock(Block block) {
index e12fad3eedfc8e22a36ba0b13602b6e686c99f58..a6d695b063779cbb8471c072ff7b9dd54a49a46c 100644 (file)
@@ -218,6 +218,7 @@ public class LeaderLayoutManager extends LeafNodeLayoutManager {
             }
         }
 
+        assert leaderArea != null;
         leaderArea.setChangeBarList(getChangeBarList());
 
         TraitSetter.setProducerID(leaderArea, fobj.getId());