aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/pdf/extensions/PDFArrayElement.java
diff options
context:
space:
mode:
authorAndreas L. Delmelle <adelmelle@apache.org>2015-05-24 11:14:22 +0000
committerAndreas L. Delmelle <adelmelle@apache.org>2015-05-24 11:14:22 +0000
commit8f55e549f6e21b77cc746f7467400f241dd46d93 (patch)
tree41ec3a4d6584acd0eed89fa2154d22c5357e9834 /src/java/org/apache/fop/render/pdf/extensions/PDFArrayElement.java
parent2c4f0d50abbefdf336725e87a4321dee2cc1975c (diff)
downloadxmlgraphics-fop-8f55e549f6e21b77cc746f7467400f241dd46d93.tar.gz
xmlgraphics-fop-8f55e549f6e21b77cc746f7467400f241dd46d93.zip
Address low priority findbugs warnings
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1681435 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/pdf/extensions/PDFArrayElement.java')
-rw-r--r--src/java/org/apache/fop/render/pdf/extensions/PDFArrayElement.java5
1 files changed, 3 insertions, 2 deletions
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