blob: 5d6766676bf584717d26daaf91c31d1083570d1e [file] [log] [blame]
Stefan Bodewig4aea7b22011-08-07 07:56:19 +00001<?xml version="1.0"?>
2<!--
3 Licensed to the Apache Software Foundation (ASF) under one or more
4 contributor license agreements. See the NOTICE file distributed with
5 this work for additional information regarding copyright ownership.
6 The ASF licenses this file to You under the Apache License, Version 2.0
7 (the "License"); you may not use this file except in compliance with
8 the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17-->
18
19<!--
20 This file contains some false positive bugs detected by findbugs. Their
21 false positive nature has been analyzed individually and they have been
22 put here to instruct findbugs it must ignore them.
23-->
24<FindBugsFilter>
25
26 <!-- Reason: References to System.out/err == -->
27 <Match>
28 <Class name="org.apache.commons.compress.archivers.Lister" />
29 <Or>
30 <Method name="main" />
31 <Method name="usage" />
32 </Or>
33 <Bug pattern="NP_ALWAYS_NULL" />
34 </Match>
35 <Match>
36 <Class name="org.apache.commons.compress.archivers.zip.ZipFile" />
37 <Method name="finalize" />
38 <Bug pattern="NP_ALWAYS_NULL" />
39 </Match>
40
41 <!-- Reason: fallthrough is intended -->
42 <Match>
43 <Class name="org.apache.commons.compress.archivers.zip.ExtraFieldUtils" />
44 <Method name="parse" />
45 <Bug pattern="SF_SWITCH_FALLTHROUGH" />
46 </Match>
47
48 <!-- Reason: fields unused as documented -->
49 <Match>
50 <Class name="org.apache.commons.compress.archivers.jar.JarArchiveEntry" />
51 <Or>
52 <Field name="certificates"/>
53 <Field name="manifestAttributes"/>
54 </Or>
55 <Bug pattern="UWF_NULL_FIELD" />
56 </Match>
57
58 <!-- Reason: exception in close swallowed in order to re-throw original -->
59 <Match>
60 <Class name="org.apache.commons.compress.archivers.zip.ZipFile" />
61 <Method name="&lt;init&gt;" />
62 <Bug pattern="DE_MIGHT_IGNORE" />
63 </Match>
64
65</FindBugsFilter>