You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by pk...@apache.org on 2024/04/01 06:23:52 UTC
(logging-log4j-samples) branch main updated: Expand wildcard imports
This is an automated email from the ASF dual-hosted git repository.
pkarwasz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-log4j-samples.git
The following commit(s) were added to refs/heads/main by this push:
new 66292ba Expand wildcard imports
66292ba is described below
commit 66292ba79fd183280e472389ffd856a139e1cb0b
Author: Piotr P. Karwasz <pi...@karwasz.org>
AuthorDate: Mon Apr 1 08:23:45 2024 +0200
Expand wildcard imports
---
.../log4j/spring/cloud/config/sample/controller/SampleController.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/log4j-spring-cloud-config-sample-application/src/main/java/org/apache/logging/log4j/spring/cloud/config/sample/controller/SampleController.java b/log4j-spring-cloud-config-sample-application/src/main/java/org/apache/logging/log4j/spring/cloud/config/sample/controller/SampleController.java
index 2487734..f1cdc5f 100644
--- a/log4j-spring-cloud-config-sample-application/src/main/java/org/apache/logging/log4j/spring/cloud/config/sample/controller/SampleController.java
+++ b/log4j-spring-cloud-config-sample-application/src/main/java/org/apache/logging/log4j/spring/cloud/config/sample/controller/SampleController.java
@@ -26,7 +26,9 @@ import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.util.Timer;
import org.springframework.http.ResponseEntity;
-import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
@RestController
@SuppressFBWarnings({"DM_DEFAULT_ENCODING", "INFORMATION_EXPOSURE_THROUGH_AN_ERROR_MESSAGE"})