]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Fix checkstyle
authorSimon Steiner <ssteiner@apache.org>
Thu, 21 Aug 2014 14:52:27 +0000 (14:52 +0000)
committerSimon Steiner <ssteiner@apache.org>
Thu, 21 Aug 2014 14:52:27 +0000 (14:52 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1619419 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/render/pdf/PDFStructureTreeBuilder.java

index bd4be2a61f2de3ef565c4ba88004be0728fd17b0..c6c41e9e2c5f6642830923e9097d5546b641ff45 100644 (file)
@@ -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);