Skip to content

Commit 46e6b54

Browse files
committed
Added checkstyle version to fix compatibility and changed default indent to 4
1 parent b0f34ef commit 46e6b54

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ apply plugin: 'eclipse-wtp'
1515
apply plugin: 'org.springframework.boot'
1616
apply plugin: 'checkstyle'
1717
checkstyle {
18+
toolVersion = "8.7"
1819
configFile = new File(rootDir, "checkstyle.xml")
1920
}
2021

checkstyles.xml renamed to checkstyle.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,12 @@
162162
value="GenericWhitespace ''{0}'' is not preceded with whitespace."/>
163163
</module>
164164
<module name="Indentation">
165-
<property name="basicOffset" value="2"/>
165+
<property name="basicOffset" value="4"/>
166166
<property name="braceAdjustment" value="0"/>
167-
<property name="caseIndent" value="2"/>
167+
<property name="caseIndent" value="4"/>
168168
<property name="throwsIndent" value="4"/>
169169
<property name="lineWrappingIndentation" value="4"/>
170-
<property name="arrayInitIndent" value="2"/>
170+
<property name="arrayInitIndent" value="4"/>
171171
</module>
172172
<module name="AbbreviationAsWordInName">
173173
<property name="ignoreFinal" value="false"/>

0 commit comments

Comments
 (0)