forked from eclipse-sensinact/org.eclipse.sensinact.gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
checkstyle-sun.xml
44 lines (44 loc) · 1.41 KB
/
checkstyle-sun.xml
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
<?xml version="1.0"?>
<!DOCTYPE module [
<!ELEMENT module (module|property|metadata|message)*>
<!ATTLIST module name NMTOKEN #REQUIRED>
<!ELEMENT property EMPTY>
<!ATTLIST property
name NMTOKEN #REQUIRED
value CDATA #REQUIRED
default CDATA #IMPLIED>
<!ELEMENT metadata EMPTY>
<!ATTLIST metadata
name NMTOKEN #REQUIRED
value CDATA #REQUIRED>
<!ELEMENT message EMPTY>
<!ATTLIST message
key NMTOKEN #REQUIRED
value CDATA #REQUIRED>
]>
<module name="Checker">
<property name="fileExtensions" value="java, xml"/>
<module name="Translation"></module>
<module name="RegexpHeader">
<property name="headerFile" value="eclipse.header"/>
<property name="fileExtensions" value="java"/>
</module>
<module name="TreeWalker">
<module name="TypeName">
<property name="tokens" value="CLASS_DEF"/>
<property name="applyToPublic" value="true"/>
<property name="applyToProtected" value="true"/>
<property name="applyToPackage" value="true"/>
<property name="applyToPrivate" value="true"/>
</module>
<module name="IllegalImport"/>
<module name="RedundantImport"/>
<module name="AvoidStarImport"/>
<module name="AvoidNestedBlocks"/>
<module name="UnusedImports">
<property name="processJavadoc" value="false"/>
</module>
<module name="LeftCurly"/>
<!-- <module name="JavadocMethod"/>-->
</module>
</module>