Skip to content

Commit 0da4a62

Browse files
committed
Adjust indentation rule
1 parent bb8ff6c commit 0da4a62

2 files changed

Lines changed: 11 additions & 16 deletions

File tree

checkstyle.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -250,14 +250,14 @@
250250
<message key="ws.notPreceded"
251251
value="GenericWhitespace ''{0}'' is not preceded with whitespace."/>
252252
</module>
253-
<!-- <module name="Indentation">
254-
<property name="basicOffset" value="2"/>
255-
<property name="braceAdjustment" value="2"/>
256-
<property name="caseIndent" value="2"/>
253+
<module name="Indentation">
254+
<property name="basicOffset" value="4"/>
255+
<property name="braceAdjustment" value="4"/>
256+
<property name="caseIndent" value="4"/>
257257
<property name="throwsIndent" value="4"/>
258258
<property name="lineWrappingIndentation" value="4"/>
259-
<property name="arrayInitIndent" value="2"/>
260-
</module> -->
259+
<property name="arrayInitIndent" value="4"/>
260+
</module>
261261
<module name="AbbreviationAsWordInName">
262262
<property name="ignoreFinal" value="false"/>
263263
<property name="allowedAbbreviationLength" value="0"/>

suppressions.xml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,17 @@
55
"https://checkstyle.org/dtds/suppressions_1_0.dtd">
66

77
<suppressions>
8-
<!-- <suppress checks="LineLength" files="WebServiceClient.java"/>
9-
<suppress checks="LineLength" files="WebServiceClient.java"/> -->
10-
8+
<suppress checks="Indentation" files="Email.java" lines="28-38"/>
119
<suppress checks="LineLength" files="AbstractAddress.java" lines="13"/>
1210
<suppress checks="LineLength" files="AbstractLocation.java" lines="131"/>
1311
<suppress checks="LineLength" files="CreditCard.java" lines="33,43,44,67,93,95,140,142"/>
14-
<suppress checks="LineLength" files="Email.java" lines="93"/>
15-
12+
<suppress checks="LineLength" files="Email.java" lines="93"/>
1613
<suppress checks="LineLength" files="GeoIp2Location.java" lines="25"/>
1714
<suppress checks="LineLength" files="IpAddress.java" lines="33,53,56"/>
18-
<suppress checks="LineLength" files="ScoreResponse.java" lines="37"/>
19-
<suppress checks="LineLength" files="ShoppingCartItem.java" lines="58"/>
20-
15+
<suppress checks="LineLength" files="ScoreResponse.java" lines="37"/>
16+
<suppress checks="LineLength" files="ShoppingCartItem.java" lines="58"/>
2117
<suppress checks="LineLength" files="Subscores.java" lines="32,41,46,52,66"/>
22-
<suppress checks="LineLength" files="TransactionReport.java" lines="75,76,82"/>
23-
18+
<suppress checks="LineLength" files="TransactionReport.java" lines="75,76,82"/>
2419
<suppress checks="LineLength" files="WebServiceClient.java" lines="143,393,504"/>
2520

2621
</suppressions>

0 commit comments

Comments
 (0)