forked from IBM/OpenJCEPlus
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathcheckstyle.xml
More file actions
48 lines (48 loc) · 2.25 KB
/
checkstyle.xml
File metadata and controls
48 lines (48 loc) · 2.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?xml version="1.0" encoding="UTF-8"?>
<!--
###############################################################################
#
# Copyright IBM Corp. 2023, 2026
#
# This code is free software; you can redistribute it and/or modify it
# under the terms provided by IBM in the LICENSE file that accompanied
# this code, including the "Classpath" Exception described therein.
###############################################################################
-->
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "https://checkstyle.org/dtds/configuration_1_3.dtd">
<module name="Checker">
<module name="FileTabCharacter"/>
<module name="NewlineAtEndOfFile"/>
<module name="RegexpHeader">
<property name="fileExtensions" value="java"/>
<property name="header" value="^\W.*\n^.*Copyright IBM Corp\. \d\d\d\d\n^\W.*\n^\W.*. This code is free software; you can redistribute it and/or modify it\n^\W.*. under the terms provided by IBM in the LICENSE file that accompanied\n^\W.*. this code, including the "Classpath" Exception described therein."/>
</module>
<module name="TreeWalker">
<property name="fileExtensions" value="java"/>
<module name="AvoidStarImport"/>
<module name="EmptyBlock"/>
<module name="EmptyLineSeparator">
<property name="allowMultipleEmptyLinesInsideClassMembers" value="false"/>
<property name="allowNoEmptyLineBetweenFields" value="true"/>
</module>
<module name="GenericWhitespace"/>
<module name="ImportOrder"/>
<module name="Indentation">
<property name="arrayInitIndent" value="8"/>
<property name="caseIndent" value="4"/>
</module>
<module name="LeftCurly"/>
<module name="NoWhitespaceAfter"/>
<module name="NoWhitespaceBefore"/>
<module name="RedundantImport"/>
<module name="RightCurly"/>
<module name="StringLiteralEquality"/>
<module name="StringLiteralEquality"/>
<module name="UnusedImports"/>
<module name="UnusedLocalVariable"/>
<module name="WhitespaceAfter"/>
<module name="WhitespaceAround">
<property name="allowEmptyConstructors" value="true"/>
</module>
</module>
</module>