[DOXIA-409] fixed issues reported by Checkstyle and Clirr
diff --git a/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoUtils.java b/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoUtils.java
index 41a76c1..3432fd1 100644
--- a/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoUtils.java
+++ b/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoUtils.java
@@ -57,8 +57,8 @@
/** To reuse the TransformerFactory **/
private static final TransformerFactory TRANSFORMER_FACTORY = TransformerFactory.newInstance();
-
- private static void prepareUserAgent( FOUserAgent foUserAgent, DocumentModel documentModel ) {
+ private static void prepareUserAgent( FOUserAgent foUserAgent, DocumentModel documentModel )
+ {
if ( documentModel != null && documentModel.getMeta() != null )
{
// http://xmlgraphics.apache.org/fop/embedding.html#user-agent
diff --git a/pom.xml b/pom.xml
index 8a249d7..979a74e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -320,6 +320,8 @@
<exclude>org/apache/maven/doxia/parser/AbstractXmlParser</exclude>
<exclude>org/apache/maven/doxia/module/*/*Sink</exclude>
<exclude>org/apache/maven/doxia/module/*/*SinkFactory</exclude>
+ <!-- DOXIA-409 -->
+ <exclude>org/apache/maven/doxia/module/fo/FoUtils</exclude>
</excludes>
</configuration>
</execution>