This is an automated email from the ASF dual-hosted git repository.
vy pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/2.x by this push:
new d1e41d2238 Fix Spotless failures
d1e41d2238 is described below
commit d1e41d2238a3ec2746e6532be2801378f79f4967
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Wed Jan 10 14:29:09 2024 +0100
Fix Spotless failures
---
.../java/org/apache/logging/log4j/jcl/CallerInformationTest.java | 7 +++----
.../src/test/java/org/apache/logging/log4j/jcl/LoggerTest.java | 7 +++----
2 files changed, 6 insertions(+), 8 deletions(-)
diff --git
a/log4j-jcl/src/test/java/org/apache/logging/log4j/jcl/CallerInformationTest.java
b/log4j-jcl/src/test/java/org/apache/logging/log4j/jcl/CallerInformationTest.java
index 3580a3b837..ba6987b137 100644
---
a/log4j-jcl/src/test/java/org/apache/logging/log4j/jcl/CallerInformationTest.java
+++
b/log4j-jcl/src/test/java/org/apache/logging/log4j/jcl/CallerInformationTest.java
@@ -16,6 +16,9 @@
*/
package org.apache.logging.log4j.jcl;
+import static org.assertj.core.api.Assertions.assertThat;
+
+import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.logging.log4j.core.LoggerContext;
@@ -23,10 +26,6 @@ import
org.apache.logging.log4j.core.test.appender.ListAppender;
import org.apache.logging.log4j.core.test.junit.LoggerContextSource;
import org.junit.jupiter.api.Test;
-import java.util.List;
-
-import static org.assertj.core.api.Assertions.assertThat;
-
public class CallerInformationTest {
@Test
diff --git
a/log4j-jcl/src/test/java/org/apache/logging/log4j/jcl/LoggerTest.java
b/log4j-jcl/src/test/java/org/apache/logging/log4j/jcl/LoggerTest.java
index 771a8a89aa..e9c405342a 100644
--- a/log4j-jcl/src/test/java/org/apache/logging/log4j/jcl/LoggerTest.java
+++ b/log4j-jcl/src/test/java/org/apache/logging/log4j/jcl/LoggerTest.java
@@ -16,6 +16,9 @@
*/
package org.apache.logging.log4j.jcl;
+import static org.assertj.core.api.Assertions.assertThat;
+
+import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.logging.log4j.core.LoggerContext;
@@ -24,10 +27,6 @@ import
org.apache.logging.log4j.core.test.junit.LoggerContextSource;
import org.apache.logging.log4j.util.Strings;
import org.junit.jupiter.api.Test;
-import java.util.List;
-
-import static org.assertj.core.api.Assertions.assertThat;
-
class LoggerTest {
@Test