Skip to content

Commit 6019b4a

Browse files
committed
Ignore SpotBugs AT_STALE_THREAD_WRITE_OF_PRIMITIVE in
org.apache.commons.io.input.UnsynchronizedBufferedInputStream UnsynchronizedBufferedInputStream is not thread-safe by design
1 parent 3f14d07 commit 6019b4a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/conf/spotbugs-exclude-filter.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,11 @@
4949
<Method name="&lt;init&gt;" />
5050
<Bug pattern="EI_EXPOSE_REP2" />
5151
</Match>
52-
52+
<Match>
53+
<!-- UnsynchronizedBufferedInputStream is not thread-safe by design. -->
54+
<Class name="org.apache.commons.io.input.UnsynchronizedBufferedInputStream" />
55+
<Bug pattern="AT_STALE_THREAD_WRITE_OF_PRIMITIVE" />
56+
</Match>
5357
<!-- The encoding is irrelevant as output is binned -->
5458
<Match>
5559
<Class name="org.apache.commons.io.output.NullPrintStream" />

0 commit comments

Comments
 (0)