OLD | NEW |
1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <!-- | 2 <!-- |
3 Copyright (c) 2012 The Chromium Authors. All rights reserved. | 3 Copyright (c) 2012 The Chromium Authors. All rights reserved. |
4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
5 found in the LICENSE file. | 5 found in the LICENSE file. |
6 --> | 6 --> |
7 | 7 |
8 <!-- | 8 <!-- |
9 Documentation: http://findbugs.sourceforge.net/manual/filter.html | 9 Documentation: http://findbugs.sourceforge.net/manual/filter.html |
10 In particular, ~ at the start of a string means it's a regex. | 10 In particular, ~ at the start of a string means it's a regex. |
11 --> | 11 --> |
12 <FindBugsFilter> | 12 <FindBugsFilter> |
13 <!-- Skip the generated resource classes (including nested classes). --> | 13 <!-- Skip the generated resource classes (including nested classes). --> |
14 <Match> | 14 <Match> |
15 <Class name="~org\.chromium\..*\.R(\$\w+)?" /> | 15 <Class name="~org\.chromium\..*\.R(\$\w+)?" /> |
16 </Match> | 16 </Match> |
17 <Match> | 17 <Match> |
18 <Class name="~org\.chromium\..*\.Manifest(\$\w+)?" /> | 18 <Class name="~org\.chromium\..*\.Manifest(\$\w+)?" /> |
19 </Match> | 19 </Match> |
20 <!-- Ignore "reliance on default String encoding" warnings, as we're not multi
-platform --> | |
21 <Match> | 20 <Match> |
22 <Class name="~org\.chromium\.chrome\.browser\.ChromiumApplication.*" /> | 21 <Class name="~org\.chromium\.chrome\.browser\.ChromiumApplication.*" /> |
23 <Method name="onCancel" /> | 22 <Method name="onCancel" /> |
24 <Bug code="Dm" /> | 23 <Bug code="Dm" /> |
25 </Match> | 24 </Match> |
26 <Match> | 25 <Match> |
27 <Class name="~org\.chromium\.chrome\.browser\.ChromiumApplication.*" /> | 26 <Class name="~org\.chromium\.chrome\.browser\.ChromiumApplication.*" /> |
28 <Method name="onClick" /> | 27 <Method name="onClick" /> |
29 <Bug code="Dm" /> | 28 <Bug code="Dm" /> |
30 </Match> | 29 </Match> |
| 30 <Bug pattern="DM_STRING_CTOR" /> |
| 31 <!-- Ignore "reliance on default String encoding" warnings, as we're not multi
-platform --> |
31 <Bug pattern="DM_DEFAULT_ENCODING" /> | 32 <Bug pattern="DM_DEFAULT_ENCODING" /> |
32 <!-- Ignore bugs that are often false-positives in test code --> | 33 <!-- Ignore bugs that are often false-positives in test code --> |
33 <Match> | 34 <Match> |
34 <Class name="~org\.chromium\..*Test(\$\w+)?" /> | 35 <Class name="~org\.chromium\..*Test(\$\w+)?" /> |
35 <Or> | 36 <Or> |
36 <Bug code="DLS,UrF" /> | 37 <Bug code="DLS,UrF" /> |
37 <Bug pattern="DM_GC" /> | 38 <Bug pattern="DM_GC" /> |
38 </Or> | 39 </Or> |
39 </Match> | 40 </Match> |
40 <!-- | 41 <!-- |
41 crbug.com/449101 | 42 crbug.com/449101 |
42 Ignore findbugs plugin test cases. | 43 Ignore findbugs plugin test cases. |
43 --> | 44 --> |
44 <Match> | 45 <Match> |
45 <Or> | 46 <Or> |
46 <Class name="~org\.chromium\.tools\.findbugs\.plugin\.SimpleSynchronizedMe
thod" /> | 47 <Class name="~org\.chromium\.tools\.findbugs\.plugin\.SimpleSynchronizedMe
thod" /> |
47 <Class name="~org\.chromium\.tools\.findbugs\.plugin\.SimpleSynchronizedSt
aticMethod" /> | 48 <Class name="~org\.chromium\.tools\.findbugs\.plugin\.SimpleSynchronizedSt
aticMethod" /> |
48 <Class name="~org\.chromium\.tools\.findbugs\.plugin\.SimpleSynchronizedTh
is" /> | 49 <Class name="~org\.chromium\.tools\.findbugs\.plugin\.SimpleSynchronizedTh
is" /> |
49 </Or> | 50 </Or> |
50 </Match> | 51 </Match> |
51 </FindBugsFilter> | 52 </FindBugsFilter> |
OLD | NEW |