Skip to content

Commit 1d031d6

Browse files
committed
Don't use a "m_" prefix for ivars.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1737900 13f79535-47bb-0310-9956-ffa450edef68
1 parent 8f06c0d commit 1d031d6

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* @version $Id$
2626
*/
2727
public class DemuxOutputStream extends OutputStream {
28-
private final InheritableThreadLocal<OutputStream> m_streams = new InheritableThreadLocal<OutputStream>();
28+
private final InheritableThreadLocal<OutputStream> outputStreamThreadLocal = new InheritableThreadLocal<OutputStream>();
2929

3030
/**
3131
* Binds the specified stream to the current thread.
@@ -35,8 +35,8 @@ public class DemuxOutputStream extends OutputStream {
3535
* @return the OutputStream that was previously active
3636
*/
3737
public OutputStream bindStream(final OutputStream output) {
38-
final OutputStream stream = m_streams.get();
39-
m_streams.set(output);
38+
final OutputStream stream = outputStreamThreadLocal.get();
39+
outputStreamThreadLocal.set(output);
4040
return stream;
4141
}
4242

@@ -48,7 +48,7 @@ public OutputStream bindStream(final OutputStream output) {
4848
*/
4949
@Override
5050
public void close() throws IOException {
51-
final OutputStream output = m_streams.get();
51+
final OutputStream output = outputStreamThreadLocal.get();
5252
if (null != output) {
5353
output.close();
5454
}
@@ -62,7 +62,7 @@ public void close() throws IOException {
6262
*/
6363
@Override
6464
public void flush() throws IOException {
65-
final OutputStream output = m_streams.get();
65+
final OutputStream output = outputStreamThreadLocal.get();
6666
if (null != output) {
6767
output.flush();
6868
}
@@ -78,7 +78,7 @@ public void flush() throws IOException {
7878
*/
7979
@Override
8080
public void write(final int ch) throws IOException {
81-
final OutputStream output = m_streams.get();
81+
final OutputStream output = outputStreamThreadLocal.get();
8282
if (null != output) {
8383
output.write(ch);
8484
}

0 commit comments

Comments
 (0)