From 8f55e549f6e21b77cc746f7467400f241dd46d93 Mon Sep 17 00:00:00 2001 From: "Andreas L. Delmelle" Date: Sun, 24 May 2015 11:14:22 +0000 Subject: Address low priority findbugs warnings git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1681435 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/render/pdf/extensions/PDFArrayElement.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/java/org/apache/fop/render/pdf/extensions/PDFArrayElement.java') diff --git a/src/java/org/apache/fop/render/pdf/extensions/PDFArrayElement.java b/src/java/org/apache/fop/render/pdf/extensions/PDFArrayElement.java index 1f3ba22b2..34b11272f 100644 --- a/src/java/org/apache/fop/render/pdf/extensions/PDFArrayElement.java +++ b/src/java/org/apache/fop/render/pdf/extensions/PDFArrayElement.java @@ -44,8 +44,9 @@ public class PDFArrayElement extends PDFCollectionEntryElement { } public PDFArrayExtension getArrayExtension() { - assert getExtension() instanceof PDFArrayExtension; - return (PDFArrayExtension) getExtension(); + PDFCollectionEntryExtension extension = getExtension(); + assert (extension instanceof PDFArrayExtension); + return (PDFArrayExtension) extension; } @Override -- cgit v1.2.3