Skip to content

Commit 8d3ab33

Browse files
committed
revert too much sync :-)
We want to ignore some warnings from Spotbugs.
1 parent ceb7add commit 8d3ab33

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build/SpotBugs.exclude.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ SPDX-License-Identifier: Apache-2.0
99
-->
1010

1111
<FindBugsFilter>
12+
<!-- Exceptions from constructors are not really a problem,
13+
e.g., we inject configuration options and want to fail fast. -->
14+
<Match><Bug pattern="CT_CONSTRUCTOR_THROW"/></Match>
15+
<!-- These checks are too pessimistic: https://github.com/spotbugs/spotbugs/issues/1601 -->
16+
<Match><Bug pattern="EI_EXPOSE_REP"/></Match>
17+
<Match><Bug pattern="EI_EXPOSE_REP2"/></Match>
1218
<!-- SpotBugs does not support @org.checkerframework.checker.nullness.qual.Nullable
1319
(cf. https://github.com/spotbugs/spotbugs/issues/643) -->
1420
<Match><Bug code="NP,RCN"/></Match>

0 commit comments

Comments
 (0)