FINERACT-1724: Spotbugs fix

This commit is contained in:
Arnold Galovics
2023-06-06 11:45:08 +02:00
committed by Arnold Gálovics
parent 2b9928bc7e
commit f8654a51bd
@@ -55,10 +55,10 @@ public class SecurityFilterChainDiagnostics implements InitializingBean {
log.info(""" log.info("""
Filter chain matcher: %s Filter chain matcher: {}
Filters in order: Filters in order:
%s {}
""".formatted(filterChain.getRequestMatcher(), getFormattedFilters(filterChain))); """, filterChain.getRequestMatcher(), getFormattedFilters(filterChain));
} }
private String getFormattedFilters(DefaultSecurityFilterChain filterChain) { private String getFormattedFilters(DefaultSecurityFilterChain filterChain) {
@@ -74,7 +74,7 @@ public class SecurityFilterChainDiagnostics implements InitializingBean {
private void printUnknownFilterChain(SecurityFilterChain filterChain) { private void printUnknownFilterChain(SecurityFilterChain filterChain) {
log.info(""" log.info("""
Filter chain: Filter chain:
%s {}
""".formatted(filterChain)); """, filterChain);
} }
} }