FINERACT-1724: Spotbugs fix
This commit is contained in:
committed by
Arnold Gálovics
parent
2b9928bc7e
commit
f8654a51bd
+5
-5
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user