forked from openmrs/openmrs-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
checkstyle-suppressions.xml
89 lines (71 loc) · 3.71 KB
/
checkstyle-suppressions.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?xml version="1.0"?>
<!--
This Source Code Form is subject to the terms of the Mozilla Public License,
v. 2.0. If a copy of the MPL was not distributed with this file, You can
obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under
the terms of the Healthcare Disclaimer located at http://openmrs.org/license.
Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
graphic logo is a trademark of OpenMRS Inc.
-->
<!DOCTYPE suppressions PUBLIC
"-//Puppy Crawl//DTD Suppressions 1.1//EN"
"http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
<suppressions>
<!--
Allow arden grammar-generated classes to use unconvential parameter
names
-->
<suppress checks="ParameterName" files="ArdenBaseLexer.java" />
<suppress checks="ParameterName" files="ArdenBaseTreeParser.java" />
<!-- Exception for arden compiled rules still in the repository -->
<suppress checks=".*" files=".*/arden/compiled/.*" />
<!--
Exception for arden auto-generated classes that don't yet include
MPL 2.0 HD header
-->
<suppress checks="Header" files="ArdenBaseLexer.java" />
<suppress checks="Header" files="ArdenBaseParser.java" />
<suppress checks="Header" files="ArdenBaseParserTokenTypes.java" />
<suppress checks="Header" files="ArdenBaseTreeParser.java" />
<suppress checks="Header" files="ArdenBaseTreeParserTokenTypes.java" />
<!-- Exceptions for line length longer than 125 -->
<suppress checks="FileLength" files="ArdenBaseParser.java" />
<suppress checks="FileLength" files="ArdenBaseTreeParser.java" />
<!-- Exceptions for use of ex.printStackTrace() -->
<suppress id="IllegalPrintStackTrace" files="MLMObject.java" />
<!-- Exceptions for line length longer than 125 -->
<suppress checks="LineLength" files="ArdenBaseLexer.java" />
<suppress checks="LineLength" files="ArdenBaseParser.java" />
<suppress checks="LineLength" files="ArdenBaseTreeParser.java" />
<suppress checks="LineLength" files="ArdenServiceImpl.java" />
<!-- Exceptions for method length conventions -->
<suppress checks="MethodLength" files="ArdenBaseParser.java" />
<suppress checks="MethodLength" files="ArdenBaseTreeParser.java" />
<suppress checks="MethodLength" files="ArdenServiceImpl.java" />
<!-- Exceptions for method naming conventions -->
<suppress checks="MethodName" files="ArdenBaseLexer.java" />
<suppress checks="MethodName" files="ArdenBaseParser.java" />
<suppress checks="MethodName" files="ArdenBaseTreeParser.java" />
<suppress checks="MethodName" files="ArdenClause.java" />
<suppress checks="MethodName" files="ArdenValue.java" />
<!-- Test classes are allowed to have underscores in method names -->
<suppress checks="MethodName" files="\*Test.java" />
<!--
Exceptions for throwing Throwable, Exception, or RuntimeException
-->
<suppress checks="IllegalThrows" files="ArdenServiceImpl.java" />
<suppress checks="IllegalThrows" files="MLMObject.java" />
<!-- Exception for classes without class-level Javadoc comment -->
<suppress checks="JavadocType" files="ArdenBaseParser.java" />
<suppress checks="JavadocType" files="ArdenBaseParserTokenTypes.java" />
<suppress checks="JavadocType" files="ArdenBaseTreeParserTokenTypes.java" />
<suppress checks="JavadocType" files="ArdenClause.java" />
<suppress checks="JavadocType" files="ArdenDataSource.java" />
<suppress checks="JavadocType" files="ArdenRule.java" />
<suppress checks="JavadocType" files="ArdenService.java" />
<suppress checks="JavadocType" files="ArdenValue.java" />
<!-- Exceptions for left curly brace convention -->
<suppress checks="LeftCurly" files="ArdenServiceImpl.java" />
<!-- Exceptions for operator wrapping -->
<suppress checks="OperatorWrap" files="ArdenServiceImpl.java" />
</suppressions>