forked from mozilla/rhino
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspotbugs-exclude.xml
More file actions
38 lines (37 loc) · 1.26 KB
/
spotbugs-exclude.xml
File metadata and controls
38 lines (37 loc) · 1.26 KB
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
<?xml version="1.0" encoding="UTF-8" ?>
<FindBugsFilter>
<Match>
<Class name="~org\.mozilla\.javascript\.tests.*"/>
</Match>
<Match>
<Class name="~org\.mozilla\.javascript\.benchmarks\.generated.*"/>
</Match>
<Match>
<!-- Existing "Token" constants have values to 255 -->
<Class name="org.mozilla.javascript.Interpreter" />
<Bug pattern="INT_BAD_COMPARISON_WITH_SIGNED_BYTE" />
</Match>
<Match>
<!-- Let this class do its job -->
<Class name="org.mozilla.javascript.DToA" />
<Bug pattern="FE_FLOATING_POINT_EQUALITY" />
</Match>
<Match>
<!-- A bigger task to take this on across the codebase -->
<Bug pattern="DM_DEFAULT_ENCODING" />
</Match>
<Match>
<!-- SymbolKey and NativeSymbol objects may be compared directly. -->
<Class name="org.mozilla.javascript.SymbolKey"/>
<Bug pattern="EQ_CHECK_FOR_OPERAND_NOT_COMPATIBLE_WITH_THIS" />
</Match>
<Match>
<Class name="org.mozilla.javascript.NativeSymbol"/>
<Bug pattern="EQ_CHECK_FOR_OPERAND_NOT_COMPATIBLE_WITH_THIS" />
</Match>
<Match>
<!-- Legacy code depends on being able to reassign values in Main -->
<Class name="org.mozilla.javascript.tools.shell.Main"/>
<Bug pattern="MS_SHOULD_BE_FINAL"/>
</Match>
</FindBugsFilter>