-
Notifications
You must be signed in to change notification settings - Fork 242
/
findbugs-exclude.xml
105 lines (101 loc) · 4.03 KB
/
findbugs-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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
~
~ WSO2 Inc. licenses this file to you 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.
-->
<FindBugsFilter>
<Match>
<Class name="org.wso2.carbon.databridge.commons.utils.DataBridgeCommonsUtils"/>
<Bug pattern="DM_DEFAULT_ENCODING"/>
</Match>
<Match>
<Class name="org.wso2.carbon.databridge.commons.Event"/>
<Bug pattern="EI_EXPOSE_REP, EI_EXPOSE_REP2"/>
</Match>
<Match>
<Class name="org.wso2.carbon.databridge.commons.utils.EventDefinitionConverterUtils"/>
<Bug pattern="PZLA_PREFER_ZERO_LENGTH_ARRAY"/>
</Match>
<Match>
<Class name="org.wso2.carbon.databridge.commons.binary.BinaryMessageConverterUtil"/>
<Bug pattern="DM_DEFAULT_ENCODING"/>
</Match>
<Match>
<Package name="org.wso2.carbon.databridge.commons.thrift.data.*"/>
<Bug pattern="CN_IDIOM"/>
</Match>
<Match>
<Package name="org.wso2.carbon.databridge.commons.thrift.exception.*"/>
<Bug pattern="CN_IDIOM"/>
</Match>
<Match>
<Package name="org.wso2.carbon.databridge.commons.thrift.service.secure.*"/>
<Bug pattern="CN_IDIOM, DLS_DEAD_LOCAL_STORE, NM_CLASS_NAMING_CONVENTION, BC_IMPOSSIBLE_CAST"/>
</Match>
<Match>
<Package name="org.wso2.carbon.databridge.commons.thrift.service.general.*"/>
<Bug pattern="CN_IDIOM, NM_CLASS_NAMING_CONVENTION, BC_IMPOSSIBLE_CAST"/>
</Match>
<Match>
<Class name="org.wso2.carbon.databridge.core.StreamAttributeComposite"/>
<Bug pattern="EI_EXPOSE_REP, EI_EXPOSE_REP2"/>
</Match>
<Match>
<Class name="org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter"/>
<Bug pattern="DM_DEFAULT_ENCODING"/>
</Match>
<Match>
<Class name="org.wso2.carbon.databridge.receiver.binary.internal.BinaryDataReceiver"/>
<Bug pattern="DM_DEFAULT_ENCODING"/>
</Match>
<Match>
<Class name="org.wso2.carbon.databridge.receiver.binary.internal.BinaryDataReceiverServiceComponent"/>
<Bug pattern="ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD"/>
</Match>
<Match>
<Class name="org.wso2.carbon.databridge.agent.endpoint.binary.BinaryEventSender"/>
<Bug pattern="DM_DEFAULT_ENCODING"/>
</Match>
<Match>
<Class name="org.wso2.carbon.databridge.agent.client.ClientPool"/>
<Bug pattern="DC_DOUBLECHECK, IS2_INCONSISTENT_SYNC"/>
</Match>
<Match>
<Class name="org.wso2.carbon.databridge.agent.endpoint.EventPublisherThreadPoolExecutor"/>
<Bug pattern="DMI_THREAD_PASSED_WHERE_RUNNABLE_EXPECTED"/>
</Match>
<Match>
<Class name="org.wso2.carbon.databridge.core.DataBridge"/>
<Bug pattern="NP_NULL_PARAM_DEREF"/>
</Match>
<Match>
<Package name="org.wso2.carbon.databridge.commons.thrift.service.general"/>
<Bug pattern="DLS_DEAD_LOCAL_STORE"/>
</Match>
<!-- TODO Validate below -->
<Match>
<Class name="org.wso2.carbon.databridge.core.DataBridge"/>
<Bug pattern="IS2_INCONSISTENT_SYNC, RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE"/>
</Match>
<Match>
<Class name="org.wso2.carbon.databridge.core.internal.EventDispatcher"/>
<Bug pattern="IS2_INCONSISTENT_SYNC"/>
</Match>
<Match>
<Class name="org.wso2.carbon.databridge.core.internal.queue.EventBlockingQueue"/>
<Bug pattern="IS2_INCONSISTENT_SYNC"/>
</Match>
</FindBugsFilter>