blob: 80343b3bd080cf05a14329011ed5382794d51275 (
plain)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
<?xml version="1.0" encoding="UTF-8"?>
<ruleset>
<rule ref="rulesets/java/naming.xml/BooleanGetMethodName">
<priority>3</priority>
</rule>
<rule ref="rulesets/java/j2ee.xml/StaticEJBFieldShouldBeFinal">
<priority>3</priority>
</rule>
<rule ref="rulesets/java/coupling.xml/CouplingBetweenObjects">
<priority>3</priority>
</rule>
<rule ref="rulesets/java/codesize.xml/TooManyMethods">
<priority>3</priority>
</rule>
<rule ref="rulesets/java/naming.xml/AvoidFieldNameMatchingTypeName">
<priority>3</priority>
</rule>
<rule ref="rulesets/java/basic.xml/DoubleCheckedLocking">
<priority>3</priority>
</rule>
<rule ref="rulesets/java/naming.xml/AvoidFieldNameMatchingMethodName">
<priority>3</priority>
</rule>
<rule ref="rulesets/java/coupling.xml/ExcessiveImports">
<priority>3</priority>
</rule>
<rule ref="rulesets/java/basic.xml/OverrideBothEqualsAndHashcode">
<priority>2</priority>
</rule>
<rule ref="rulesets/java/naming.xml/ShortMethodName">
<priority>3</priority>
</rule>
<rule ref="rulesets/java/basic.xml/BooleanInstantiation">
<priority>3</priority>
</rule>
<rule ref="rulesets/java/codesize.xml/TooManyFields">
<priority>3</priority>
</rule>
<rule ref="rulesets/java/controversial.xml/AvoidUsingNativeCode">
<priority>3</priority>
</rule>
<rule ref="rulesets/java/optimizations.xml/UseStringBufferForStringAppends">
<priority>3</priority>
</rule>
<rule ref="rulesets/java/coupling.xml/LooseCoupling">
<priority>3</priority>
</rule>
<rule ref="rulesets/java/design.xml/NonThreadSafeSingleton">
<priority>3</priority>
</rule>
<rule ref="rulesets/java/j2ee.xml/DoNotUseThreads">
<priority>3</priority>
</rule>
<rule ref="rulesets/java/sunsecure.xml/ArrayIsStoredDirectly">
<priority>5</priority>
</rule>
<rule ref="rulesets/java/sunsecure.xml/MethodReturnsInternalArray">
<priority>2</priority>
</rule>
<rule ref="rulesets/java/design.xml/AssignmentToNonFinalStatic">
<priority>3</priority>
</rule>
<rule ref="rulesets/java/strictexception.xml/AvoidCatchingGenericException">
<priority>3</priority>
</rule>
</ruleset>
|