From 2e06f0dd3914d9d09e95ced4ae27090b1b42d26b Mon Sep 17 00:00:00 2001 From: Simon Steiner Date: Thu, 21 Aug 2014 14:52:27 +0000 Subject: [PATCH] Fix checkstyle git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1619419 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/fop/render/pdf/PDFStructureTreeBuilder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java/org/apache/fop/render/pdf/PDFStructureTreeBuilder.java b/src/java/org/apache/fop/render/pdf/PDFStructureTreeBuilder.java index bd4be2a61..c6c41e9e2 100644 --- a/src/java/org/apache/fop/render/pdf/PDFStructureTreeBuilder.java +++ b/src/java/org/apache/fop/render/pdf/PDFStructureTreeBuilder.java @@ -360,8 +360,8 @@ class PDFStructureTreeBuilder implements StructureTreeEventHandler { public StructureTreeElement startNode(String name, Attributes attributes, StructureTreeElement parent) { if (!isPDFA1Safe(name)) { return null; - } - assert parent == null || parent instanceof PDFStructElem; + } + assert parent == null || parent instanceof PDFStructElem; PDFStructElem parentElem = parent == null ? ancestors.getFirst() : (PDFStructElem) parent; PDFStructElem structElem = createStructureElement(name, parentElem, attributes, pdfFactory, eventBroadcaster); -- 2.39.5