You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2015/10/29 19:42:28 UTC
[2/4] logging-log4j2 git commit: Don't hide ivar with lvar.
Don't hide ivar with lvar.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/171746df
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/171746df
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/171746df
Branch: refs/heads/master
Commit: 171746df2e02a33f0a410ae5d532763c14192578
Parents: 49e85c9
Author: ggregory <gg...@apache.org>
Authored: Wed Oct 28 22:30:51 2015 -0700
Committer: ggregory <gg...@apache.org>
Committed: Wed Oct 28 22:30:51 2015 -0700
----------------------------------------------------------------------
.../log4j/io/AbstractLoggerOutputStreamTest.java | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/171746df/log4j-iostreams/src/test/java/org/apache/logging/log4j/io/AbstractLoggerOutputStreamTest.java
----------------------------------------------------------------------
diff --git a/log4j-iostreams/src/test/java/org/apache/logging/log4j/io/AbstractLoggerOutputStreamTest.java b/log4j-iostreams/src/test/java/org/apache/logging/log4j/io/AbstractLoggerOutputStreamTest.java
index e29ec96..2f4f573 100644
--- a/log4j-iostreams/src/test/java/org/apache/logging/log4j/io/AbstractLoggerOutputStreamTest.java
+++ b/log4j-iostreams/src/test/java/org/apache/logging/log4j/io/AbstractLoggerOutputStreamTest.java
@@ -63,19 +63,19 @@ public abstract class AbstractLoggerOutputStreamTest extends AbstractStreamTest
@Test
public void testFlush() throws IOException {
- final OutputStream out = EasyMock.createMock("out", OutputStream.class);
- out.flush(); // expect the flush to come through to the mocked OutputStream
- out.close();
- replay(out);
+ final OutputStream os = EasyMock.createMock("out", OutputStream.class);
+ os.flush(); // expect the flush to come through to the mocked OutputStream
+ os.close();
+ replay(os);
try (final OutputStream filteredOut =
IoBuilder.forLogger(getExtendedLogger())
- .filter(out)
+ .filter(os)
.setLevel(LEVEL)
.buildOutputStream()) {
filteredOut.flush();
}
- verify(out);
+ verify(os);
}
@Test