|
19 | 19 | xmlns="https://github.com/spotbugs/filter/3.0.0" |
20 | 20 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
21 | 21 | xsi:schemaLocation="https://github.com/spotbugs/filter/3.0.0 https://raw.githubusercontent.com/spotbugs/spotbugs/3.1.0/spotbugs/etc/findbugsfilter.xsd"> |
22 | | - |
23 | 22 | <!-- TODO Can any of these be done without breaking binary compatibility? --> |
24 | 23 | <Match> |
25 | 24 | <Class name="~.*" /> |
|
29 | 28 | <Bug pattern="MS_EXPOSE_REP" /> |
30 | 29 | </Or> |
31 | 30 | </Match> |
32 | | - |
33 | 31 | <!-- https://github.com/spotbugs/spotbugs/issues/2710 --> |
34 | 32 | <Match> |
35 | 33 | <Class name="~.*" /> |
36 | 34 | <Bug pattern="CT_CONSTRUCTOR_THROW" /> |
37 | 35 | </Match> |
38 | | - |
39 | 36 | <!-- See discussion on https://issues.apache.org/jira/browse/IO-216 --> |
40 | 37 | <Match> |
41 | 38 | <Class name="org.apache.commons.io.output.LockableFileWriter" /> |
42 | 39 | <Method name="close" params="" returns="void" /> |
43 | 40 | <Bug pattern="RV_RETURN_VALUE_IGNORED_BAD_PRACTICE" /> |
44 | 41 | </Match> |
45 | | - |
46 | 42 | <!-- The constructors intentionally do not copy the input byte array --> |
47 | 43 | <Match> |
48 | 44 | <Class name="org.apache.commons.io.input.UnsynchronizedByteArrayInputStream" /> |
|
64 | 60 | <Class name="org.apache.commons.io.output.NullPrintStream" /> |
65 | 61 | <Bug pattern="DM_DEFAULT_ENCODING" /> |
66 | 62 | </Match> |
67 | | - |
68 | 63 | <!-- Deprecated --> |
69 | 64 | <Match> |
70 | 65 | <Class name="org.apache.commons.io.file.PathUtils" /> |
71 | 66 | <Field name="NOFOLLOW_LINK_OPTION_ARRAY" /> |
72 | 67 | <Bug pattern="MS_PKGPROTECT" /> |
73 | 68 | </Match> |
74 | | - |
75 | 69 | <!-- Deprecated --> |
76 | 70 | <Match> |
77 | 71 | <Class name="org.apache.commons.io.monitor.FileAlterationObserver" /> |
78 | 72 | <Field name="fileFilter" /> |
79 | 73 | <Bug pattern="SE_TRANSIENT_FIELD_NOT_RESTORED" /> |
80 | 74 | </Match> |
81 | | - |
82 | 75 | <!-- Deprecated --> |
83 | 76 | <Match> |
84 | 77 | <Class name="org.apache.commons.io.monitor.FileAlterationObserver" /> |
85 | 78 | <Field name="listeners" /> |
86 | 79 | <Bug pattern="SE_TRANSIENT_FIELD_NOT_RESTORED" /> |
87 | 80 | </Match> |
88 | | - |
89 | 81 | <!-- This class only throws unchecked exceptions. --> |
90 | 82 | <Match> |
91 | 83 | <Class name="org.apache.commons.io.function.UncheckedIOIterator" /> |
92 | 84 | <Method name="next" /> |
93 | 85 | <Bug pattern="IT_NO_SUCH_ELEMENT" /> |
94 | 86 | </Match> |
95 | | - |
96 | 87 | </FindBugsFilter> |
0 commit comments