Skip to content

Commit 6f37bc8

Browse files
committed
Normalize ivar name.
1 parent e530687 commit 6f37bc8

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/main/java/org/apache/commons/io/input/DemuxInputStream.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
*
2929
*/
3030
public class DemuxInputStream extends InputStream {
31-
private final InheritableThreadLocal<InputStream> m_streams = new InheritableThreadLocal<>();
31+
private final InheritableThreadLocal<InputStream> inputStream = new InheritableThreadLocal<>();
3232

3333
/**
3434
* Bind the specified stream to the current thread.
@@ -37,8 +37,8 @@ public class DemuxInputStream extends InputStream {
3737
* @return the InputStream that was previously active
3838
*/
3939
public InputStream bindStream(final InputStream input) {
40-
final InputStream oldValue = m_streams.get();
41-
m_streams.set(input);
40+
final InputStream oldValue = inputStream.get();
41+
inputStream.set(input);
4242
return oldValue;
4343
}
4444

@@ -49,7 +49,7 @@ public InputStream bindStream(final InputStream input) {
4949
*/
5050
@Override
5151
public void close() throws IOException {
52-
IOUtils.close(m_streams.get());
52+
IOUtils.close(inputStream.get());
5353
}
5454

5555
/**
@@ -60,7 +60,7 @@ public void close() throws IOException {
6060
*/
6161
@Override
6262
public int read() throws IOException {
63-
final InputStream input = m_streams.get();
63+
final InputStream input = inputStream.get();
6464
if (null != input) {
6565
return input.read();
6666
}

0 commit comments

Comments
 (0)