This is an automated email from the ASF dual-hosted git repository.
mattsicker pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/master by this push:
new 6dd4cd8 Remove unused imports
6dd4cd8 is described below
commit 6dd4cd853af5fce3617a72108ccb99f397158130
Author: Matt Sicker <[email protected]>
AuthorDate: Mon Dec 23 10:59:32 2019 -0600
Remove unused imports
Signed-off-by: Matt Sicker <[email protected]>
---
.../java/org/apache/logging/log4j/core/util/Source.java | 16 ++--------------
1 file changed, 2 insertions(+), 14 deletions(-)
diff --git
a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/Source.java
b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/Source.java
index a0aa548..a13fa65 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/Source.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/Source.java
@@ -17,24 +17,12 @@
package org.apache.logging.log4j.core.util;
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
+import org.apache.logging.log4j.core.config.ConfigurationSource;
+
import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.io.InputStream;
-import java.net.MalformedURLException;
import java.net.URI;
-import java.net.URISyntaxException;
-import java.net.URL;
import java.util.Objects;
-import org.apache.logging.log4j.Level;
-import org.apache.logging.log4j.core.config.ConfigurationFactory;
-import org.apache.logging.log4j.core.config.ConfigurationSource;
-import org.apache.logging.log4j.util.LoaderUtil;
-
/**
* Represents the source for the logging configuration.
*/