From eacba3774408883df276edd639304bfc2a015c1b Mon Sep 17 00:00:00 2001 From: "J-K. Solbakken" Date: Tue, 18 Jul 2023 12:45:04 +0200 Subject: [PATCH] classes made static as per intellijs recommendation --- .../java/examples/java/springboot/login/OAuth2LoginApp.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/examples/java/springboot/login/OAuth2LoginApp.java b/src/test/java/examples/java/springboot/login/OAuth2LoginApp.java index efcecb7a..ec7dbccb 100644 --- a/src/test/java/examples/java/springboot/login/OAuth2LoginApp.java +++ b/src/test/java/examples/java/springboot/login/OAuth2LoginApp.java @@ -28,7 +28,7 @@ public static void main(String[] args) throws IOException { @RestController @RequestMapping("/api") - class ApiController { + static class ApiController { @GetMapping(value = "/ping", produces = MediaType.TEXT_HTML_VALUE) Mono ping(@AuthenticationPrincipal OAuth2AuthenticationToken token) { @@ -37,7 +37,7 @@ Mono ping(@AuthenticationPrincipal OAuth2AuthenticationToken token) { } @EnableWebFluxSecurity - class SecurityConfiguration { + static class SecurityConfiguration { @Bean public SecurityWebFilterChain securityWebFilterChain(ServerHttpSecurity http) {