From 2c713369aa257bb5daa2d40f5d57e47216a3fd46 Mon Sep 17 00:00:00 2001 From: KimDaehyeon Date: Fri, 14 Feb 2025 22:14:00 +0900 Subject: [PATCH] fix: replace incorrect import of log4j.level.TRACE with HttpMethod.TRACE - #29 - Fixed an issue in RestfulPatternTest where log4j.level.TRACE was imported instead of HttpMethod.TRACE. - The import of log4j.level.TRACE was causing confusion, though both enums have the same .name() value. - Replaced the import with HttpMethod.TRACE to ensure the correct enum is used. --- .../com/restful_spring/rest_interceptor/RestfulPatternTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/com/restful_spring/rest_interceptor/RestfulPatternTest.java b/src/test/java/com/restful_spring/rest_interceptor/RestfulPatternTest.java index 2c2a2e5..e4d99f8 100644 --- a/src/test/java/com/restful_spring/rest_interceptor/RestfulPatternTest.java +++ b/src/test/java/com/restful_spring/rest_interceptor/RestfulPatternTest.java @@ -1,6 +1,5 @@ package com.restful_spring.rest_interceptor; -import static org.apache.logging.log4j.Level.TRACE; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.springframework.http.HttpMethod.DELETE; @@ -10,6 +9,7 @@ import static org.springframework.http.HttpMethod.PATCH; import static org.springframework.http.HttpMethod.POST; import static org.springframework.http.HttpMethod.PUT; +import static org.springframework.http.HttpMethod.TRACE; import java.util.Arrays; import java.util.List;