Remove unused imports
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/fc918475
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/fc918475
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/fc918475
Branch: refs/heads/LOG4J2-1278-gc-free-logger
Commit: fc918475cf2b2fd120b4f832ec473396a51afc21
Parents: 804fbe4
Author: ggregory
Authored: Wed Mar 2 01:20:35 2016 -0800
Committer: ggregory
Committed: Wed Mar 2 01:20:35 2016 -0800
--
.../logging/log4j/AbstractLoggerTest.java |2 -
.../org/apache/logging/log4j/LoggerTest.java| 1107 +-
.../apache/logging/log4j/core/jmx/Server.java |1 -
.../core/pattern/MessagePatternConverter.java |1 -
.../appender/rolling/PatternProcessorTest.java |1 -
.../async/perftest/CountingNoOpAppender.java|4 -
.../log4j/core/util/CronExpressionTest.java |1 -
.../log4j/core/util/WatchManagerTest.java |2 -
.../log4j/jmx/gui/ClientGuiJConsolePlugin.java |2 -
.../logging/log4j/perf/nogc/AbstractLogger.java |1 -
.../logging/log4j/perf/nogc/DemoAppender.java |1 -
.../perf/nogc/NoGcMessagePatternConverter.java |3 -
.../CustomConfigurationFactory.java |2 -
.../org/apache/logging/slf4j/Log4j1222Test.java |1 -
14 files changed, 553 insertions(+), 576 deletions(-)
--
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/fc918475/log4j-api/src/test/java/org/apache/logging/log4j/AbstractLoggerTest.java
--
diff --git
a/log4j-api/src/test/java/org/apache/logging/log4j/AbstractLoggerTest.java
b/log4j-api/src/test/java/org/apache/logging/log4j/AbstractLoggerTest.java
index 399b450..ac77b97 100644
--- a/log4j-api/src/test/java/org/apache/logging/log4j/AbstractLoggerTest.java
+++ b/log4j-api/src/test/java/org/apache/logging/log4j/AbstractLoggerTest.java
@@ -20,14 +20,12 @@ import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import org.apache.logging.log4j.message.Message;
-import org.apache.logging.log4j.message.MessageFactory;
import org.apache.logging.log4j.message.ObjectMessage;
import org.apache.logging.log4j.message.ParameterizedMessage;
import org.apache.logging.log4j.message.ParameterizedMessageFactory;
import org.apache.logging.log4j.message.SimpleMessage;
import org.apache.logging.log4j.spi.AbstractLogger;
import org.junit.Before;
-import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/fc918475/log4j-api/src/test/java/org/apache/logging/log4j/LoggerTest.java
--
diff --git a/log4j-api/src/test/java/org/apache/logging/log4j/LoggerTest.java
b/log4j-api/src/test/java/org/apache/logging/log4j/LoggerTest.java
index 323d8fb..3fe3b61 100644
--- a/log4j-api/src/test/java/org/apache/logging/log4j/LoggerTest.java
+++ b/log4j-api/src/test/java/org/apache/logging/log4j/LoggerTest.java
@@ -1,554 +1,553 @@
-/*
- * 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;
-
-import static org.hamcrest.CoreMatchers.containsString;
-import static org.hamcrest.CoreMatchers.equalTo;
-import static org.hamcrest.CoreMatchers.endsWith;
-import static org.hamcrest.CoreMatchers.startsWith;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertThat;
-import static org.junit.Assert.assertTrue;
-
-import java.util.Date;
-import java.util.List;
-import java.util.Locale;
-
-import org.apache.logging.log4j.message.EntryMessage;
-import org.apache.logging.log4j.message.JsonMessage;
-import org.apache.logging.log4j.message.Message;
-import org.apache.logging.log4j.message.ObjectMessage;
-import org.apache.logging.log4j.message.ParameterizedMessageFactory;
-import