This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-doxia.git
The following commit(s) were added to refs/heads/master by this push:
new 7edfd00 [DOXIA-409] fixed issues reported by Checkstyle and Clirr
7edfd00 is described below
commit 7edfd001a9f61c700be3cefee0276ffe81b6a427
Author: Hervé Boutemy <[email protected]>
AuthorDate: Wed Feb 7 09:45:21 2018 +0100
[DOXIA-409] fixed issues reported by Checkstyle and Clirr
---
.../src/main/java/org/apache/maven/doxia/module/fo/FoUtils.java | 4 ++--
pom.xml | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
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 @@ public class FoUtils
/** 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 @@ under the License.
<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>
--
To stop receiving notification emails like this one, please contact
[email protected].