From: Simon Steiner Date: Thu, 5 Jul 2018 12:35:12 +0000 (+0000) Subject: FOP-1760: Findbugs X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=56fd6c20022cd376f7c6ee9a5374f8d1e8279c7e;p=xmlgraphics-fop.git FOP-1760: Findbugs git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ChangeBars2@1835133 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/fop-core/src/main/java/org/apache/fop/area/inline/InlineBlock.java b/fop-core/src/main/java/org/apache/fop/area/inline/InlineBlock.java index 7a4f94db9..9b5f96708 100644 --- a/fop-core/src/main/java/org/apache/fop/area/inline/InlineBlock.java +++ b/fop-core/src/main/java/org/apache/fop/area/inline/InlineBlock.java @@ -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) { diff --git a/fop-core/src/main/java/org/apache/fop/layoutmgr/inline/LeaderLayoutManager.java b/fop-core/src/main/java/org/apache/fop/layoutmgr/inline/LeaderLayoutManager.java index e12fad3ee..a6d695b06 100644 --- a/fop-core/src/main/java/org/apache/fop/layoutmgr/inline/LeaderLayoutManager.java +++ b/fop-core/src/main/java/org/apache/fop/layoutmgr/inline/LeaderLayoutManager.java @@ -218,6 +218,7 @@ public class LeaderLayoutManager extends LeafNodeLayoutManager { } } + assert leaderArea != null; leaderArea.setChangeBarList(getChangeBarList()); TraitSetter.setProducerID(leaderArea, fobj.getId());