You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rg...@apache.org on 2022/01/03 22:30:39 UTC

[logging-log4j2] 02/02: LOG4J2-3306 - OptionConverter could cause a StackOverflowError

This is an automated email from the ASF dual-hosted git repository.

rgoers pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git

commit 69932f0a9bf5c3688c0b62aec3e6625e5a28cb15
Author: Ralph Goers <rg...@apache.org>
AuthorDate: Mon Jan 3 15:30:22 2022 -0700

    LOG4J2-3306 - OptionConverter could cause a StackOverflowError
---
 .../java/org/apache/logging/log4j/core/util/OptionConverterTest.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/log4j-core-test/src/test/java/org/apache/logging/log4j/core/util/OptionConverterTest.java b/log4j-core-test/src/test/java/org/apache/logging/log4j/core/util/OptionConverterTest.java
index 65de5d7..8050d60 100644
--- a/log4j-core-test/src/test/java/org/apache/logging/log4j/core/util/OptionConverterTest.java
+++ b/log4j-core-test/src/test/java/org/apache/logging/log4j/core/util/OptionConverterTest.java
@@ -16,12 +16,12 @@
  */
 package org.apache.logging.log4j.core.util;
 
-import static org.junit.jupiter.api.Assertions.assertEquals;
-
 import java.util.Properties;
 
 import org.junit.jupiter.api.Test;
 
+import static org.junit.jupiter.api.Assertions.assertEquals;
+
 /**
  * Tests {@link OptionConverter}.
  */