Skip to content

Commit

Permalink
classes made static as per intellijs recommendation
Browse files Browse the repository at this point in the history
  • Loading branch information
jksolbakken committed Jul 18, 2023
1 parent 83b73c1 commit eacba37
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<String> ping(@AuthenticationPrincipal OAuth2AuthenticationToken token) {
Expand All @@ -37,7 +37,7 @@ Mono<String> ping(@AuthenticationPrincipal OAuth2AuthenticationToken token) {
}

@EnableWebFluxSecurity
class SecurityConfiguration {
static class SecurityConfiguration {

@Bean
public SecurityWebFilterChain securityWebFilterChain(ServerHttpSecurity http) {
Expand Down

0 comments on commit eacba37

Please sign in to comment.