forked from oracle/opengrok
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfindbugs_filter.xml
57 lines (50 loc) · 1.28 KB
/
findbugs_filter.xml
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
49
50
51
52
53
54
55
56
57
<?xml version="1.0" encoding="UTF-8"?>
<FindBugsFilter>
<!-- Remove JFlex generated files from output -->
<Match>
<Field name="zzEOFDone"/>
<Bug code="UrF"/>
</Match>
<Match>
<Method name="yylex"/>
<Bug code="Bx"/>
</Match>
<Match>
<Or>
<Method name="zzUnpackAction"/>
<Method name="zzUnpackAttribute"/>
<Method name="zzUnpackRowMap"/>
<Method name="zzUnpackTrans"/>
</Or>
<Bug code="DLS"/>
</Match>
<Match>
<Method name="reInit"/>
<Bug code="EI2"/>
</Match>
<Match>
<Or>
<Field name="yychar"/>
<Field name="yycolumn"/>
<Field name="yyline"/>
<Field name="zzAtBOL"/>
</Or>
<Bug code="UrF"/>
</Match>
<!-- Some of the lex classes rename yylex() to next() -->
<Match>
<And>
<Or>
<Class name="org.opengrok.indexer.search.context.PlainLineTokenizer"/>
<Class name="org.opengrok.indexer.analysis.tcl.TclSymbolTokenizer"/>
</Or>
<Method name="yylex"/>
</And>
<Bug code="SF"/>
</Match>
<!-- ignore generated analysis classes which don't need to override equals or hashcode -->
<Match>
<Class name="~org\.opengrok\.analysis.*"/>
<Bug code="Eq"/>
</Match>
</FindBugsFilter>