-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathfindbugs-excludes.xml
More file actions
29 lines (29 loc) · 910 Bytes
/
Copy pathfindbugs-excludes.xml
File metadata and controls
29 lines (29 loc) · 910 Bytes
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
<FindBugsFilter>
<!-- Ignore generated lexers.-->
<Match>
<Class name="~.*\._.*Lexer"/>
</Match>
<Match>
<Class name="~com\.haskforce\.parsing\.jsonParser\..*"/>
</Match>
<Match>
<Class name="~com\.haskforce\.parsing\.srcExtsDatatypes\..*"/>
</Match>
<!-- For efficiency reasons, we want to return the array here. -->
<Match>
<Class name="com.haskforce.features.HaskellBraceMatcher"/>
<Bug pattern="EI_EXPOSE_REP"/>
</Match>
<!-- Ignore certain bugs for JSON serialized classes. -->
<Match>
<Class name="com.haskforce.highlighting.annotation.external.HLint$Problem"/>
<Or>
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD"/>
<Bug pattern="EI_EXPOSE_REP2"/>
</Or>
</Match>
<!-- Ignore redundant null checks by @NotNull annotations. -->
<Match>
<Bug pattern="RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE"/>
</Match>
</FindBugsFilter>