Remove unused local variables. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/301e13ed Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/301e13ed Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/301e13ed
Branch: refs/heads/LOG4J2-1349-gcfree-threadcontext Commit: 301e13edfa51b106b0cab90464b54f6bc58081f9 Parents: ea6443f Author: Gary Gregory <ggreg...@apache.org> Authored: Tue Sep 6 23:05:35 2016 -0400 Committer: Gary Gregory <ggreg...@apache.org> Committed: Tue Sep 6 23:05:35 2016 -0400 ---------------------------------------------------------------------- .../logging/log4j/message/LocalizedMessage.java | 2 +- .../log4j/core/filter/BurstFilterTest.java | 283 +++++++++---------- .../log4j/core/impl/Log4jLogEventTest.java | 4 +- .../log4j/core/impl/MutableLogEventTest.java | 2 +- .../log4j/core/layout/JsonLayoutTest.java | 5 +- .../log4j/core/layout/Rfc5424LayoutTest.java | 2 +- .../lookup/MainInputArgumentsMapLookup.java | 2 +- .../core/lookup/ResourceBundleLookupTest.java | 4 +- .../core/net/ssl/KeyStoreConfigurationTest.java | 2 +- .../net/ssl/TrustStoreConfigurationTest.java | 2 +- .../log4j/core/pattern/PatternParserTest.java | 2 +- .../flume/appender/FlumeEmbeddedAgentTest.java | 4 +- .../appender/FlumeEmbeddedAppenderTest.java | 4 +- .../appender/FlumePersistentAppenderTest.java | 4 +- .../flume/appender/FlumePersistentPerf.java | 4 +- 15 files changed, 161 insertions(+), 165 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/301e13ed/log4j-api/src/main/java/org/apache/logging/log4j/message/LocalizedMessage.java ---------------------------------------------------------------------- diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/message/LocalizedMessage.java b/log4j-api/src/main/java/org/apache/logging/log4j/message/LocalizedMessage.java index 93d8d3a..4399469 100644 --- a/log4j-api/src/main/java/org/apache/logging/log4j/message/LocalizedMessage.java +++ b/log4j-api/src/main/java/org/apache/logging/log4j/message/LocalizedMessage.java @@ -281,7 +281,7 @@ public class LocalizedMessage implements Message, LoggerNameAwareMessage { formattedMessage = in.readUTF(); key = in.readUTF(); baseName = in.readUTF(); - final int length = in.readInt(); + in.readInt(); stringArgs = (String[]) in.readObject(); logger = StatusLogger.getLogger(); resourceBundle = null; http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/301e13ed/log4j-core/src/test/java/org/apache/logging/log4j/core/filter/BurstFilterTest.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/filter/BurstFilterTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/filter/BurstFilterTest.java index 6ec1eb2..31aea6d 100644 --- a/log4j-core/src/test/java/org/apache/logging/log4j/core/filter/BurstFilterTest.java +++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/filter/BurstFilterTest.java @@ -1,142 +1,141 @@ -/* Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.logging.log4j.core.filter; - -import java.util.List; - -import org.apache.logging.log4j.Logger; -import org.apache.logging.log4j.junit.LoggerContextRule; -import org.apache.logging.log4j.test.appender.ListAppender; -import org.junit.Before; -import org.junit.ClassRule; -import org.junit.Test; - -import static org.junit.Assert.*; -/** - * Unit test for <code>BurstFilter</code>. - */ -public class BurstFilterTest { - - private static final String CONFIG = "log4j-burst.xml"; - - @ClassRule - public static LoggerContextRule context = new LoggerContextRule(CONFIG); - - @Before - public void setUp() throws Exception { - app = context.getListAppender("ListAppender"); - filter = (BurstFilter) app.getFilter(); - assertNotNull("No BurstFilter", filter); - } - - private ListAppender app; - private BurstFilter filter; - - private final Logger logger = context.getLogger(); - - /** - * Test BurstFilter by surpassing maximum number of log messages allowed by filter and - * making sure only the maximum number are indeed logged, then wait for while and make - * sure the filter allows the appropriate number of messages to be logged. - */ - @Test - public void test() throws Exception { - // exceed the burst limit and make sure no more than 100 errors get logged - final long start = System.nanoTime(); - for (int i = 0; i < 110; i++) { - if (i % 10 == 0) { - Thread.sleep(200); - } - logger.info("Logging 110 messages, should only see 100 logs # " + (i + 1)); - assertTrue("Incorrect number of available slots", filter.getAvailable() < 100); - } - List<String> msgs = app.getMessages(); - assertEquals("Incorrect message count. Should be 100, actual " + msgs.size(), 100, msgs.size()); - app.clear(); - - assertTrue("Incorrect number of available slots", filter.getAvailable() < 100); - // Allow some of the events to clear - Thread.sleep(1500); - - for (int i = 0; i < 110; i++) { - logger.info("Waited 1.5 seconds and trying to log again, should see more than 0 and less than 100" + (i + 1)); - } - - msgs = app.getMessages(); - assertFalse("No messages were counted.", msgs.isEmpty()); - assertTrue("Incorrect message count. Should be > 0 and < 100, actual " + msgs.size(), msgs.size() < 100); - app.clear(); - - filter.clear(); - - for (int i = 0; i < 110; i++) { - logger.info("Waited 1.5 seconds and trying to log again, should see more than 0 and less than 100" + (i + 1)); - } - assertEquals("", 0, filter.getAvailable()); - app.clear(); - - - // now log 100 debugs, they shouldn't get through because there are no available slots. - for (int i = 0; i < 110; i++) { - logger.debug( - "TEST FAILED! Logging 110 debug messages, shouldn't see any of them because they are debugs #" + (i + 1)); - } - - msgs = app.getMessages(); - assertTrue("Incorrect message count. Should be 0, actual " + msgs.size(), msgs.isEmpty()); - app.clear(); - - // now log 100 warns, they should all get through because the filter's level is set at info - for (int i = 0; i < 110; i++) { - logger.warn("Logging 110 warn messages, should see all of them because they are warns #" + (i + 1)); - } - - msgs = app.getMessages(); - assertEquals("Incorrect message count. Should be 110, actual " + msgs.size(), 110, msgs.size()); - app.clear(); - - // now log 100 errors, they should all get through because the filter level is set at info - for (int i = 0; i < 110; i++) { - logger.error("Logging 110 error messages, should see all of them because they are errors #" + (i + 1)); - } - - msgs = app.getMessages(); - assertEquals("Incorrect message count. Should be 110, actual " + msgs.size(), 110, msgs.size()); - app.clear(); - - // now log 100 fatals, they should all get through because the filter level is set at info - for (int i = 0; i < 110; i++) { - logger.fatal("Logging 110 fatal messages, should see all of them because they are fatals #" + (i + 1)); - } - - msgs = app.getMessages(); - assertEquals("Incorrect message count. Should be 110, actual " + msgs.size(), 110, msgs.size()); - app.clear(); - - // wait and make sure we can log messages again despite the fact we just logged a bunch of warns, errors, fatals - Thread.sleep(3100); - - for (int i = 0; i < 110; i++) { - logger.debug("Waited 3+ seconds, should see 100 logs #" + (i + 1)); - } - msgs = app.getMessages(); - assertEquals("Incorrect message count. Should be 100, actual " + msgs.size(), 100, msgs.size()); - app.clear(); - - } -} +/* Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.logging.log4j.core.filter; + +import java.util.List; + +import org.apache.logging.log4j.Logger; +import org.apache.logging.log4j.junit.LoggerContextRule; +import org.apache.logging.log4j.test.appender.ListAppender; +import org.junit.Before; +import org.junit.ClassRule; +import org.junit.Test; + +import static org.junit.Assert.*; +/** + * Unit test for <code>BurstFilter</code>. + */ +public class BurstFilterTest { + + private static final String CONFIG = "log4j-burst.xml"; + + @ClassRule + public static LoggerContextRule context = new LoggerContextRule(CONFIG); + + @Before + public void setUp() throws Exception { + app = context.getListAppender("ListAppender"); + filter = (BurstFilter) app.getFilter(); + assertNotNull("No BurstFilter", filter); + } + + private ListAppender app; + private BurstFilter filter; + + private final Logger logger = context.getLogger(); + + /** + * Test BurstFilter by surpassing maximum number of log messages allowed by filter and + * making sure only the maximum number are indeed logged, then wait for while and make + * sure the filter allows the appropriate number of messages to be logged. + */ + @Test + public void test() throws Exception { + System.nanoTime(); + for (int i = 0; i < 110; i++) { + if (i % 10 == 0) { + Thread.sleep(200); + } + logger.info("Logging 110 messages, should only see 100 logs # " + (i + 1)); + assertTrue("Incorrect number of available slots", filter.getAvailable() < 100); + } + List<String> msgs = app.getMessages(); + assertEquals("Incorrect message count. Should be 100, actual " + msgs.size(), 100, msgs.size()); + app.clear(); + + assertTrue("Incorrect number of available slots", filter.getAvailable() < 100); + // Allow some of the events to clear + Thread.sleep(1500); + + for (int i = 0; i < 110; i++) { + logger.info("Waited 1.5 seconds and trying to log again, should see more than 0 and less than 100" + (i + 1)); + } + + msgs = app.getMessages(); + assertFalse("No messages were counted.", msgs.isEmpty()); + assertTrue("Incorrect message count. Should be > 0 and < 100, actual " + msgs.size(), msgs.size() < 100); + app.clear(); + + filter.clear(); + + for (int i = 0; i < 110; i++) { + logger.info("Waited 1.5 seconds and trying to log again, should see more than 0 and less than 100" + (i + 1)); + } + assertEquals("", 0, filter.getAvailable()); + app.clear(); + + + // now log 100 debugs, they shouldn't get through because there are no available slots. + for (int i = 0; i < 110; i++) { + logger.debug( + "TEST FAILED! Logging 110 debug messages, shouldn't see any of them because they are debugs #" + (i + 1)); + } + + msgs = app.getMessages(); + assertTrue("Incorrect message count. Should be 0, actual " + msgs.size(), msgs.isEmpty()); + app.clear(); + + // now log 100 warns, they should all get through because the filter's level is set at info + for (int i = 0; i < 110; i++) { + logger.warn("Logging 110 warn messages, should see all of them because they are warns #" + (i + 1)); + } + + msgs = app.getMessages(); + assertEquals("Incorrect message count. Should be 110, actual " + msgs.size(), 110, msgs.size()); + app.clear(); + + // now log 100 errors, they should all get through because the filter level is set at info + for (int i = 0; i < 110; i++) { + logger.error("Logging 110 error messages, should see all of them because they are errors #" + (i + 1)); + } + + msgs = app.getMessages(); + assertEquals("Incorrect message count. Should be 110, actual " + msgs.size(), 110, msgs.size()); + app.clear(); + + // now log 100 fatals, they should all get through because the filter level is set at info + for (int i = 0; i < 110; i++) { + logger.fatal("Logging 110 fatal messages, should see all of them because they are fatals #" + (i + 1)); + } + + msgs = app.getMessages(); + assertEquals("Incorrect message count. Should be 110, actual " + msgs.size(), 110, msgs.size()); + app.clear(); + + // wait and make sure we can log messages again despite the fact we just logged a bunch of warns, errors, fatals + Thread.sleep(3100); + + for (int i = 0; i < 110; i++) { + logger.debug("Waited 3+ seconds, should see 100 logs #" + (i + 1)); + } + msgs = app.getMessages(); + assertEquals("Incorrect message count. Should be 100, actual " + msgs.size(), 100, msgs.size()); + app.clear(); + + } +} http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/301e13ed/log4j-core/src/test/java/org/apache/logging/log4j/core/impl/Log4jLogEventTest.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/impl/Log4jLogEventTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/impl/Log4jLogEventTest.java index d57a058..ebdd87f 100644 --- a/log4j-core/src/test/java/org/apache/logging/log4j/core/impl/Log4jLogEventTest.java +++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/impl/Log4jLogEventTest.java @@ -175,8 +175,6 @@ public class Log4jLogEventTest { // System.out.println("final String base64 = \"" + base64Str.replaceAll("\r\n", "\\\\r\\\\n\" +\r\n\"") + // "\";"); - //final String base64_v_2_5 = "rO0ABXNyAD5vcmcuYXBhY2hlLmxvZ2dpbmcubG9nNGouY29yZS5pbXBsLkxvZzRqTG9nRXZlbnQkTG9nRXZlbnRQcm94eZztD11w2ioWAgANWgAMaXNFbmRPZkJhdGNoWgASaXNMb2NhdGlvblJlcXVpcmVkSgAKd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ADhzcQB+ACJzcQB+ACUAcQB+AChxAH4AMHNxAH4AKQAAAl5xAH4AQXEAfgBCcQB+ADhzcQB+ACJzcQB+ACUBdAALaWRlYV9ydC5qYXJxAH4AKHNxAH4AKQAAAJB0AC1jb20uaW50ZWxsaWoucnQuZXhlY3V0aW9uLmFwcGxpY2F0aW9uLkFwcE1haW50AAxBcHBNYWluLmphdmFxAH4As3QAFk9NRyBJJ3ZlIGJlZW4gZGVsZXRlZCFxAH4AxnQARW9yZy5hcGFjaGUubG9nZ2luZy5sb2c0ai5jb3JlLmltcGwuTG9nNGpMb2dFdmVudFRlc3QkRGVsZXRlZEV4Y2VwdGlvbnVyADRbTG9yZy5hcGFjaGUubG9nZ2luZy5sb2c0ai5jb3JlLmltcGwuVGhyb3dhYmxlUHJveHk7+u0B4IWi6zkCAAB4cAAAAAA="; final byte[] binaryDecoded = DatatypeConverter.parseBase64Binary(base64); @@ -292,7 +290,7 @@ public class Log4jLogEventTest { final Exception exception = new Exception("test"); final Marker marker = MarkerManager.getMarker("EVENTTEST"); final Message message = new SimpleMessage("foo"); - final StackTraceElement stackTraceElement = new StackTraceElement("A", "B", "file", 123); + new StackTraceElement("A", "B", "file", 123); final String fqcn = "qualified"; final String name = "Ceci n'est pas une pipe"; final String threadName = "threadName"; http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/301e13ed/log4j-core/src/test/java/org/apache/logging/log4j/core/impl/MutableLogEventTest.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/impl/MutableLogEventTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/impl/MutableLogEventTest.java index 928e801..f6da5ef 100644 --- a/log4j-core/src/test/java/org/apache/logging/log4j/core/impl/MutableLogEventTest.java +++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/impl/MutableLogEventTest.java @@ -216,7 +216,7 @@ public class MutableLogEventTest { @Test public void testJavaIoSerializableWithThrown() throws Exception { - final Error thrown = new InternalError("test error"); + new InternalError("test error"); final MutableLogEvent evt = new MutableLogEvent(); evt.setContextMap(CONTEXTMAP); evt.setContextStack(STACK); http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/301e13ed/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/JsonLayoutTest.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/JsonLayoutTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/JsonLayoutTest.java index a6cdf43..672b8ca 100644 --- a/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/JsonLayoutTest.java +++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/JsonLayoutTest.java @@ -87,7 +87,7 @@ public class JsonLayoutTest { private void checkMapEntry(final String key, final String value, final boolean compact, final String str, final boolean contextMapAslist) { - final String propSep = this.toPropertySeparator(compact); + this.toPropertySeparator(compact); if (contextMapAslist) { // {"key":"KEY", "value":"VALUE"} final String expected = String.format("{\"key\":\"%s\",\"value\":\"%s\"}", key, value); @@ -123,8 +123,7 @@ public class JsonLayoutTest { final AbstractJacksonLayout layout = JsonLayout.createLayout(null, includeSource, includeContext, contextMapAslist, false, compact, eventEol, null, null, StandardCharsets.UTF_8, includeStacktace); final String str = layout.toSerializable(expected); - // System.out.println(str); - final String propSep = this.toPropertySeparator(compact); + this.toPropertySeparator(compact); // Just check for \n since \r might or might not be there. assertEquals(str, !compact || eventEol, str.contains("\n")); assertEquals(str, includeSource, str.contains("source")); http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/301e13ed/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/Rfc5424LayoutTest.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/Rfc5424LayoutTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/Rfc5424LayoutTest.java index bffbf55..fbfd8f5 100644 --- a/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/Rfc5424LayoutTest.java +++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/Rfc5424LayoutTest.java @@ -342,7 +342,7 @@ public class Rfc5424LayoutTest { public void testDiscardEmptyLoggerFields() { final String mdcId = "RequestContext"; - final List<String> expectedToContain = Arrays.asList( + Arrays.asList( "[BAZ@32473 baz=\"org.apache.logging.log4j.core.layout.Rfc5424LayoutTest.testLoggerFields\"]" + "[RequestContext@3692 bar=\"org.apache.logging.log4j.core.layout.Rfc5424LayoutTest.testLoggerFields\"]" ); http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/301e13ed/log4j-core/src/test/java/org/apache/logging/log4j/core/lookup/MainInputArgumentsMapLookup.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/lookup/MainInputArgumentsMapLookup.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/lookup/MainInputArgumentsMapLookup.java index a415c53..f6bad22 100644 --- a/log4j-core/src/test/java/org/apache/logging/log4j/core/lookup/MainInputArgumentsMapLookup.java +++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/lookup/MainInputArgumentsMapLookup.java @@ -32,7 +32,7 @@ public class MainInputArgumentsMapLookup extends MapLookup { final String[] args = null; for (final Map.Entry<Thread, StackTraceElement[]> entry : allStackTraces.entrySet()) { final StackTraceElement[] stackTraceElements = entry.getValue(); - final Thread thread = entry.getKey(); + entry.getKey(); // Can't use the thread name to look for "main" since anyone can set it. // Can't use thread ID since it can be any positive value, and is likely vender dependent. Oracle seems to // use 1. http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/301e13ed/log4j-core/src/test/java/org/apache/logging/log4j/core/lookup/ResourceBundleLookupTest.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/lookup/ResourceBundleLookupTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/lookup/ResourceBundleLookupTest.java index 31dcb13..f1aa6bf 100644 --- a/log4j-core/src/test/java/org/apache/logging/log4j/core/lookup/ResourceBundleLookupTest.java +++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/lookup/ResourceBundleLookupTest.java @@ -27,14 +27,14 @@ public class ResourceBundleLookupTest { @Test public void testLookup() { final StrLookup lookup = new ResourceBundleLookup(); - final String value = lookup.lookup("org.apache.logging.log4j.core.lookup.resource-bundle_en:KeyA"); + lookup.lookup("org.apache.logging.log4j.core.lookup.resource-bundle_en:KeyA"); Assert.assertEquals("ValueA", lookup.lookup("org.apache.logging.log4j.core.lookup.resource-bundle:KeyA")); } @Test public void testLookupWithLocale() { final StrLookup lookup = new ResourceBundleLookup(); - final String value = lookup.lookup("org.apache.logging.log4j.core.lookup.resource-bundle:KeyA"); + lookup.lookup("org.apache.logging.log4j.core.lookup.resource-bundle:KeyA"); Assert.assertEquals("ValueA", lookup.lookup("org.apache.logging.log4j.core.lookup.resource-bundle:KeyA")); } http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/301e13ed/log4j-core/src/test/java/org/apache/logging/log4j/core/net/ssl/KeyStoreConfigurationTest.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/net/ssl/KeyStoreConfigurationTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/net/ssl/KeyStoreConfigurationTest.java index 4216ee8..55c4d53 100644 --- a/log4j-core/src/test/java/org/apache/logging/log4j/core/net/ssl/KeyStoreConfigurationTest.java +++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/net/ssl/KeyStoreConfigurationTest.java @@ -49,6 +49,6 @@ public class KeyStoreConfigurationTest { @Test(expected = StoreConfigurationException.class) public void wrongPassword() throws StoreConfigurationException { final KeyStoreConfiguration ksc = new KeyStoreConfiguration(TestConstants.KEYSTORE_FILE, "wrongPassword!", null, null); - final KeyStore ks = ksc.getKeyStore(); + ksc.getKeyStore(); } } http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/301e13ed/log4j-core/src/test/java/org/apache/logging/log4j/core/net/ssl/TrustStoreConfigurationTest.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/net/ssl/TrustStoreConfigurationTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/net/ssl/TrustStoreConfigurationTest.java index e97ba55..b1254b8 100644 --- a/log4j-core/src/test/java/org/apache/logging/log4j/core/net/ssl/TrustStoreConfigurationTest.java +++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/net/ssl/TrustStoreConfigurationTest.java @@ -47,7 +47,7 @@ public class TrustStoreConfigurationTest { @Test(expected = StoreConfigurationException.class) public void wrongPassword() throws StoreConfigurationException { final TrustStoreConfiguration ksc = new TrustStoreConfiguration(TestConstants.TRUSTSTORE_FILE, "wrongPassword!", null, null); - final KeyStore ks = ksc.getKeyStore(); + ksc.getKeyStore(); Assert.assertTrue(false); } } http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/301e13ed/log4j-core/src/test/java/org/apache/logging/log4j/core/pattern/PatternParserTest.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/pattern/PatternParserTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/pattern/PatternParserTest.java index 92f62d4..4e1050d 100644 --- a/log4j-core/src/test/java/org/apache/logging/log4j/core/pattern/PatternParserTest.java +++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/pattern/PatternParserTest.java @@ -206,7 +206,7 @@ public class PatternParserTest { final List<PatternFormatter> formatters = parser.parse(nestedPatternHighlight); assertNotNull(formatters); final Throwable t = new Throwable(); - final StackTraceElement[] stackTraceElement = t.getStackTrace(); + t.getStackTrace(); final LogEvent event = Log4jLogEvent.newBuilder() // .setLoggerName("org.apache.logging.log4j.PatternParserTest") // .setMarker(MarkerManager.getMarker("TEST")) // http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/301e13ed/log4j-flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumeEmbeddedAgentTest.java ---------------------------------------------------------------------- diff --git a/log4j-flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumeEmbeddedAgentTest.java b/log4j-flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumeEmbeddedAgentTest.java index 313a8ab..94c4926 100644 --- a/log4j-flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumeEmbeddedAgentTest.java +++ b/log4j-flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumeEmbeddedAgentTest.java @@ -89,7 +89,7 @@ public class FlumeEmbeddedAgentTest { public void setUp() throws Exception { final File file = new File("target/file-channel"); - final boolean result = deleteFiles(file); + deleteFiles(file); /* * Clear out all other appenders associated with this logger to ensure we're @@ -113,7 +113,7 @@ public class FlumeEmbeddedAgentTest { primary.stop(); alternate.stop(); final File file = new File("target/file-channel"); - final boolean result = deleteFiles(file); + deleteFiles(file); final MBeanServer server = ManagementFactory.getPlatformMBeanServer(); final Set<ObjectName> names = server.queryNames(new ObjectName("org.apache.flume.*:*"), null); for (final ObjectName name : names) { http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/301e13ed/log4j-flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumeEmbeddedAppenderTest.java ---------------------------------------------------------------------- diff --git a/log4j-flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumeEmbeddedAppenderTest.java b/log4j-flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumeEmbeddedAppenderTest.java index 8b2c3e0..035eea6 100644 --- a/log4j-flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumeEmbeddedAppenderTest.java +++ b/log4j-flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumeEmbeddedAppenderTest.java @@ -89,7 +89,7 @@ public class FlumeEmbeddedAppenderTest { public void setUp() throws Exception { final File file = new File("target/file-channel"); - final boolean result = deleteFiles(file); + deleteFiles(file); /* * Clear out all other appenders associated with this logger to ensure we're @@ -113,7 +113,7 @@ public class FlumeEmbeddedAppenderTest { primary.stop(); alternate.stop(); final File file = new File("target/file-channel"); - final boolean result = deleteFiles(file); + deleteFiles(file); final MBeanServer server = ManagementFactory.getPlatformMBeanServer(); final Set<ObjectName> names = server.queryNames(new ObjectName("org.apache.flume.*:*"), null); for (final ObjectName name : names) { http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/301e13ed/log4j-flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumePersistentAppenderTest.java ---------------------------------------------------------------------- diff --git a/log4j-flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumePersistentAppenderTest.java b/log4j-flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumePersistentAppenderTest.java index e6b80ee..48397b5 100644 --- a/log4j-flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumePersistentAppenderTest.java +++ b/log4j-flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumePersistentAppenderTest.java @@ -91,7 +91,7 @@ public class FlumePersistentAppenderTest { public void setUp() throws Exception { final File file = new File("target/persistent"); - final boolean result = deleteFiles(file); + deleteFiles(file); /* * Clear out all other appenders associated with this logger to ensure we're @@ -115,7 +115,7 @@ public class FlumePersistentAppenderTest { primary.stop(); alternate.stop(); final File file = new File("target/file-channel"); - final boolean result = deleteFiles(file); + deleteFiles(file); final MBeanServer server = ManagementFactory.getPlatformMBeanServer(); final Set<ObjectName> names = server.queryNames(new ObjectName("org.apache.flume.*:*"), null); for (final ObjectName name : names) { http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/301e13ed/log4j-flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumePersistentPerf.java ---------------------------------------------------------------------- diff --git a/log4j-flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumePersistentPerf.java b/log4j-flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumePersistentPerf.java index fe248d2..ec4d7b0 100644 --- a/log4j-flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumePersistentPerf.java +++ b/log4j-flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumePersistentPerf.java @@ -86,7 +86,7 @@ public class FlumePersistentPerf { public void setUp() throws Exception { final File file = new File("target/persistent"); - final boolean result = deleteFiles(file); + deleteFiles(file); /* * Clear out all other appenders associated with this logger to ensure we're @@ -110,7 +110,7 @@ public class FlumePersistentPerf { primary.stop(); alternate.stop(); final File file = new File("target/file-channel"); - final boolean result = deleteFiles(file); + deleteFiles(file); final MBeanServer server = ManagementFactory.getPlatformMBeanServer(); final Set<ObjectName> names = server.queryNames(new ObjectName("org.apache.flume.*:*"), null); for (final ObjectName name : names) {