8000 More excludes · jdoherty/powertools-lambda-java@9bfff82 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9bfff82

Browse files
committed
More excludes
1 parent 69619e8 commit 9bfff82

File tree

2 files changed

+37
-16
lines changed

2 files changed

+37
-16
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<!-- This file specifies a spotbugs filter for excluding reports that
2+
should not be considered errors.
3+
The format of this file is documented at:
4+
https://spotbugs.readthedocs.io/en/latest/filter.html
5+
When possible, please specify the full names of the bug codes,
6+
using the pattern attribute, to make it clearer what reports are
7+
being suppressed. You can find a listing of codes at:
8+
https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html
9+
-->
10+
<FindBugsFilter>
11+
<Match>
12+
<Bug pattern="EI_EXPOSE_REP2"/>
13+
<Or>
14+
<And>
15+
<Class name="software.amazon.lambda.powertools.parameters.BaseProvider"/>
16+
<Field name="cacheManager"/>
17+
</And>
18+
<And>
19+
<Class name="software.amazon.lambda.powertools.parameters.transform.TransformationManager"/>
20+
<Field name="transformer"/>
21+
</And>
22+
</Or>
23+
</Match>
24+
<Match>
25+
<Bug pattern="MS_EXPOSE_REP"/>
26+
<Or>
27+
<And>
28+
<Class name="software.amazon.lambda.powertools.parameters.ParamManager"/>
29+
<Method name="getCacheManager"/>
30+
</And>
31+
<And>
32+
<Class name="software.amazon.lambda.powertools.parameters.ParamManager"/>
33+
<Method name="getTransformationManager"/>
34+
</And>
35+
</Or>
36+
</Match>
37+
</FindBugsFilter>

spotbugs-exclude.xml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,6 @@
6565
<Class name="software.amazon.lambda.powertools.sqs.internal.BatchContext"/>
6666
<Field name="client"/>
6767
</And>
68-
<And>
69-
<Class name="software.amazon.lambda.powertools.parameters.BaseProvider"/>
70-
<Field name="cacheManager"/>
71-
</And>
72-
<And>
73-
<Class name="software.amazon.lambda.powertools.parameters.transform.TransformationManager"/>
74-
<Field name="transformer"/>
75-
</And>
7668
<And>
7769
<Class name="software.amazon.lambda.powertools.idempotency.Idempotency$Config"/>
7870
<Field name="store"/>
@@ -140,18 +132,10 @@
140132
<Class name="software.amazon.lambda.powertools.sqs.SqsUtils"/>
141133
<Method name="objectMapper"/>
142134
</And>
143-
<And>
144-
<Class name="software.amazon.lambda.powertools.parameters.ParamManager"/>
145-
<Method name="getCacheManager"/>
146-
</And>
147135
<And>
148136
<Class name="software.amazon.lambda.powertools.sqs.SqsUtils"/>
149137
<Method name="s3Client"/>
150138
</And>
151-
<And>
152-
<Class name="software.amazon.lambda.powertools.parameters.ParamManager"/>
153-
<Method name="getTransformationManager"/>
154-
</And>
155139
</Or>
156140
</Match>
157141
<!--False positive https://github.com/spotbugs/spotbugs/issues/1539-->

0 commit comments

Comments
 (0)
0