Skip to content

Commit 426cd8c

Browse files
committed
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1737901 13f79535-47bb-0310-9956-ffa450edef68
1 parent 1d031d6 commit 426cd8c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/org/apache/commons/io/output/DemuxOutputStream.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ public void close() throws IOException {
6262
*/
6363
@Override
6464
public void flush() throws IOException {
65+
@SuppressWarnings("resource")
6566
final OutputStream output = outputStreamThreadLocal.get();
6667
if (null != output) {
6768
output.flush();
@@ -78,6 +79,7 @@ public void flush() throws IOException {
7879
*/
7980
@Override
8081
public void write(final int ch) throws IOException {
82+
@SuppressWarnings("resource")
8183
final OutputStream output = outputStreamThreadLocal.get();
8284
if (null != output) {
8385
output.write(ch);

0 commit comments

Comments
 (0)