summaryrefslogtreecommitdiff
path: root/buildstuffs/src
diff options
context:
space:
mode:
authorGravatar Uko Kokņevičs2026-01-10 16:09:24 +0200
committerGravatar Uko Kokņevičs2026-01-10 16:19:49 +0200
commita75a5f275e0adb60f0438284c18f47991dd8e08f (patch)
tree289dc858a2cccea811507bb6244af0f9d2a160b6 /buildstuffs/src
parentGet rid of Checker Framework (diff)
downloadlv.enes:parent-a75a5f275e0adb60f0438284c18f47991dd8e08f.tar.gz
lv.enes:parent-a75a5f275e0adb60f0438284c18f47991dd8e08f.tar.xz
lv.enes:parent-a75a5f275e0adb60f0438284c18f47991dd8e08f.zip
Get rid of spotbugs
It's just checkstyle & pmd now
Diffstat (limited to 'buildstuffs/src')
-rw-r--r--buildstuffs/src/main/resources/lv/enes/buildstuffs/spotbugs-exclude.xml46
1 files changed, 0 insertions, 46 deletions
diff --git a/buildstuffs/src/main/resources/lv/enes/buildstuffs/spotbugs-exclude.xml b/buildstuffs/src/main/resources/lv/enes/buildstuffs/spotbugs-exclude.xml
deleted file mode 100644
index 65f2d8d..0000000
--- a/buildstuffs/src/main/resources/lv/enes/buildstuffs/spotbugs-exclude.xml
+++ /dev/null
@@ -1,46 +0,0 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 SPDX-License-Identifier: AGPL-3.0-or-later
4 SPDX-FileCopyrightText: 2025 Uko Kokņevičs <perkontevs@gmail.com>
5 -->
6<FindBugsFilter xmlns="https://github.com/spotbugs/filter/4.8.4"
7 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8 xsi:schemaLocation="https://github.com/spotbugs/filter/4.8.4
9 https://raw.githubusercontent.com/spotbugs/spotbugs/4.8.4/spotbugs/etc/findbugsfilter.xsd">
10 <!-- Auto-generated -->
11 <Match>
12 <Source name="HelpMojo.java" />
13 </Match>
14
15 <!-- Finalizer attacks... Don't use finalizers. -->
16 <Match>
17 <Bug pattern="CT_CONSTRUCTOR_THROW" />
18 </Match>
19
20 <!-- Malicious code vulnerabilities. Why are you running untrusted code? -->
21 <Match>
22 <Or>
23 <Bug pattern="EI_EXPOSE_REP" />
24 <Bug pattern="EI_EXPOSE_REP2" />
25 <Bug pattern="MS_EXPOSE_REP" />
26 </Or>
27 </Match>
28
29 <!-- This is a good check but Lombok's @Getter(lazy=true) generates code violating it :/ -->
30 <Match>
31 <Bug pattern="JLM_JSR166_UTILCONCURRENT_MONITORENTER" />
32 </Match>
33
34 <!-- Nullness should get caught by checkerframework. Silencing here because Lombok generates them. -->
35 <Match>
36 <Or>
37 <Bug code="RCN" />
38 <Bug pattern="NP_NONNULL_RETURN_VIOLATION" />
39 </Or>
40 </Match>
41
42 <!-- Catch fallthrough with other tools which allow annotating accepted cases more easily -->
43 <Match>
44 <Bug pattern="SF_SWITCH_FALLTHROUGH" />
45 </Match>
46</FindBugsFilter>