diff options
author | Simon Steiner <ssteiner@apache.org> | 2014-08-21 14:52:27 +0000 |
---|---|---|
committer | Simon Steiner <ssteiner@apache.org> | 2014-08-21 14:52:27 +0000 |
commit | 2e06f0dd3914d9d09e95ced4ae27090b1b42d26b (patch) | |
tree | 1fce60967bacbb375f0b6accb9039f9140020938 /src | |
parent | 967a5b18472f2f13db29dcff59b06aaedcc52b76 (diff) | |
download | xmlgraphics-fop-2e06f0dd3914d9d09e95ced4ae27090b1b42d26b.tar.gz xmlgraphics-fop-2e06f0dd3914d9d09e95ced4ae27090b1b42d26b.zip |
Fix checkstyle
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1619419 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/java/org/apache/fop/render/pdf/PDFStructureTreeBuilder.java | 4 |
1 files 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); |