Repository navigation
Expand file tree
/
Copy pathspotbugs-exclude.xml
More file actions
48 lines (47 loc) · 2.15 KB
/
Copy pathspotbugs-exclude.xml
File metadata and controls
48 lines (47 loc) · 2.15 KB
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
<!--
/*
* Copyright 2020-2023 Equinix, Inc
* Copyright 2014-2023 The Billing Project, LLC
*
* The Billing Project 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>
<Package name="~org\.killbill\.billing\.plugin\.adyen\.dao\.gen.*"/>
</Match>
<Match>
<Class name="~org\.killbill\.billing\.plugin\.adyen\.dao\.gen.*"/>
</Match>
<!-- justification: plugin API classes store references to handler/dao/service objects passed at construction; defensive copying is not applicable here -->
<Match>
<Or>
<Class name="org.killbill.billing.plugin.adyen.api.AdyenPaymentPluginApi"/>
<Class name="org.killbill.billing.plugin.adyen.api.AdyenPaymentTransactionInfoPlugin"/>
<Class name="org.killbill.billing.plugin.adyen.core.resources.AdyenCheckoutService"/>
<Class name="org.killbill.billing.plugin.adyen.core.resources.AdyenNotificationServlet"/>
</Or>
<Bug pattern="EI_EXPOSE_REP,EI_EXPOSE_REP2"/>
</Match>
<!-- justification: notification processing legitimately catches Exception to handle unexpected errors from external webhook payloads -->
<Match>
<Class name="org.killbill.billing.plugin.adyen.api.AdyenPaymentPluginApi"/>
<Method name="processNotification"/>
<Bug pattern="REC_CATCH_EXCEPTION"/>
</Match>
<!-- justification: servlet fields (clock, service) are injected dependencies, not intended for serialization -->
<Match>
<Class name="org.killbill.billing.plugin.adyen.core.resources.AdyenCheckoutServlet"/>
<Bug pattern="SE_BAD_FIELD"/>
</Match>
</FindBugsFilter>