aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Bowditch <cbowditch@apache.org>2016-03-23 16:17:44 +0000
committerChris Bowditch <cbowditch@apache.org>2016-03-23 16:17:44 +0000
commit9904989c3e5fae342f6feb4b3df5caae41c15d05 (patch)
treec5dd0640e86a2cd4e1ef8e63270c540093d03454
parent97adf80a987bc54f6c841e53b49a139395fdcf12 (diff)
downloadxmlgraphics-fop-9904989c3e5fae342f6feb4b3df5caae41c15d05.tar.gz
xmlgraphics-fop-9904989c3e5fae342f6feb4b3df5caae41c15d05.zip
get checkstyle working on Windows environment
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1736346 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--fop-core/src/tools/resources/checkstyle/checkstyle.xml4
-rw-r--r--fop-core/src/tools/resources/checkstyle/suppressions.xml16
2 files changed, 11 insertions, 9 deletions
diff --git a/fop-core/src/tools/resources/checkstyle/checkstyle.xml b/fop-core/src/tools/resources/checkstyle/checkstyle.xml
index 8e72bf48c..7cd53c359 100644
--- a/fop-core/src/tools/resources/checkstyle/checkstyle.xml
+++ b/fop-core/src/tools/resources/checkstyle/checkstyle.xml
@@ -11,7 +11,9 @@
<!-- ===================================================================================================== -->
<!-- ===================================================================================================== -->
- <module name="NewlineAtEndOfFile"/>
+ <module name="NewlineAtEndOfFile">
+ <property name="lineSeparator" value="lf" />
+ </module>
<!-- ===================================================================================================== -->
<!-- ===================================================================================================== -->
diff --git a/fop-core/src/tools/resources/checkstyle/suppressions.xml b/fop-core/src/tools/resources/checkstyle/suppressions.xml
index 050f5dab4..2d3c46ee4 100644
--- a/fop-core/src/tools/resources/checkstyle/suppressions.xml
+++ b/fop-core/src/tools/resources/checkstyle/suppressions.xml
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suppressions PUBLIC "-//Puppy Crawl//DTD Suppressions 1.1//EN" "http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
<suppressions>
- <suppress files="org/apache/fop/afp/fonts/CharactersetEncoder.java" checks="FinalClass"/>
- <suppress files="org/apache/fop/complexscripts/bidi/BidiClass.java" checks="WhitespaceAfter"/>
- <suppress files="org/apache/fop/complexscripts/bidi/GenerateBidiTestData.java" checks="SimplifyBooleanReturn"/>
- <suppress files="org/apache/fop/complexscripts/scripts/ArabicScriptProcessor.java" checks="SimplifyBooleanReturn"/>
- <suppress files="org/apache/fop/complexscripts/util/CharScript.java" checks="SimplifyBooleanReturn"/>
- <suppress files="org/apache/fop/render/rtf/rtflib/testdocs/MergedTableCells.java" checks="AvoidNestedBlocks"/>
- <suppress files="org/apache/fop/render/rtf/rtflib/testdocs/NestedTable.java" checks="AvoidNestedBlocks"/>
- <suppress files="org/apache/fop/fo/flow/MarkersTestCase.java" checks="LocalVariableName"/>
+ <suppress files="CharactersetEncoder.java" checks="FinalClass"/>
+ <suppress files="BidiClass.java" checks="WhitespaceAfter"/>
+ <suppress files="GenerateBidiTestData.java" checks="SimplifyBooleanReturn"/>
+ <suppress files="ArabicScriptProcessor.java" checks="SimplifyBooleanReturn"/>
+ <suppress files="CharScript.java" checks="SimplifyBooleanReturn"/>
+ <suppress files="MergedTableCells.java" checks="AvoidNestedBlocks"/>
+ <suppress files="NestedTable.java" checks="AvoidNestedBlocks"/>
+ <suppress files="MarkersTestCase.java" checks="LocalVariableName"/>
</suppressions>