| <?xml version="1.0" encoding="UTF-8" ?> | |
| <FindBugsFilter> | |
| <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> |