forked from mongodb/mongo-java-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
checkstyle-exclude.xml
91 lines (74 loc) · 3.93 KB
/
checkstyle-exclude.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
90
91
<?xml version="1.0"?>
<!--
~ Copyright (c) 2008-2014 MongoDB, Inc.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<!DOCTYPE suppressions PUBLIC
"-//Puppy Crawl//DTD Suppressions 1.1//EN"
"http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
<suppressions>
<suppress checks="MethodLength" files="QuickTour"/>
<suppress checks="Regexp" files="QuickTour"/>
<suppress checks="Javadoc*" files="com[\\/]mongodb[\\/]internal[\\/]"/>
<!--Do not check primer classes -->
<suppress checks="Javadoc*" files=".*primer.*"/>
<suppress checks="Regexp" files=".*primer.*"/>
<suppress checks="AvoidStarImportCheck" files=".*primer.*"/>
<suppress checks="VisibilityModifierCheck" files=".*primer.*"/>
<!--Do not check test classes -->
<suppress checks="Javadoc*" files=".*test.*"/>
<!--DBCollection is insanely long, and we should not compromise every class length for this one-->
<suppress checks="FileLength" files="DBCollection"/>
<suppress checks="ParameterNumber" files="Connection"/>
<suppress checks="ParameterNumber" files="DefaultServer"/>
<!--Legacy code that has not yet been cleaned-->
<suppress checks="FinalClass" files="AggregationOptions"/>
<suppress checks="MemberName" files="BasicDBList"/>
<suppress checks="MemberName" files="BasicDBObjectBuilder"/>
<suppress checks="MemberName" files="Bytes"/>
<suppress checks="MemberName" files="ClassMapBasedObjectSerializer"/>
<suppress checks="MemberName" files="DBAddress"/>
<suppress checks="MemberName" files="JSON"/>
<suppress checks="MemberName" files="QueryBuilder"/>
<suppress checks="ConstantName" files="BSON"/>
<suppress checks="ConstantName" files="ClassAncestry"/>
<suppress checks="ConstantName" files="JSONCallback"/>
<suppress checks="ConstantName" files="Mongo"/>
<suppress checks="ConstantName" files="ReflectionDBObject"/>
<suppress checks="JavadocMethod" files="BasicDBObject"/>
<suppress checks="MethodName" files="BasicBSONCallback"/>
<suppress checks="MethodName" files="BasicBSONEncoder"/>
<suppress checks="MethodName" files="BasicBSONList"/>
<suppress checks="MethodName" files="BasicDBObjectBuilder"/>
<suppress checks="MethodName" files="DBAddress"/>
<suppress checks="MethodName" files="GridFSInputFile"/>
<suppress checks="MethodName" files="ReflectionDBObject"/>
<suppress checks="VisibilityModifier" files="Bytes"/>
<suppress checks="VisibilityModifier" files="GridFSFile"/>
<suppress checks="VisibilityModifier" files="JSON"/>
<suppress checks="VisibilityModifier" files="MongoOptions"/>
<suppress checks="InnerAssignment" files="DBCursor"/>
<suppress checks="InnerAssignment" files="JSON"/>
<suppress checks="FinalClass" files="DBCursor"/>
<suppress checks="FinalClass" files="MongoClientOptions"/>
<suppress checks="FinalClass" files="QueryOperators"/>
<suppress checks="FinalClass" files="JSONSerializers"/>
<suppress checks="HideUtilityClassConstructor" files="BSON"/>
<suppress checks="HideUtilityClassConstructor" files="Bits"/>
<suppress checks="HideUtilityClassConstructor" files="ClassAncestry"/>
<suppress checks="HideUtilityClassConstructor" files="CLI"/>
<suppress checks="HideUtilityClassConstructor" files="JSON"/>
<suppress checks="HideUtilityClassConstructor" files="QuickTour"/>
<suppress checks="HideUtilityClassConstructor" files="Util"/>
</suppressions>