1
0
mirror of synced 2026-08-05 01:36:56 +00:00

Format Lambda Expressions

This commit updats lambda expressions so that
their variable is surrounded in parentheses.

Issue gh-13067
This commit is contained in:
Josh Cummings
2025-06-19 14:34:48 -06:00
parent 20a2213e11
commit c43afbf5e1
45 changed files with 272 additions and 272 deletions
@@ -59,11 +59,11 @@ public class CustomX509Configuration {
// @formatter:off
http
.x509(x509 -> x509
.x509((x509) -> x509
.principalExtractor(principalExtractor)
.authenticationManager(authenticationManager)
)
.authorizeExchange(exchanges -> exchanges
.authorizeExchange((exchanges) -> exchanges
.anyExchange().authenticated()
);
// @formatter:on
@@ -44,7 +44,7 @@ public class DefaultX509Configuration {
// @formatter:off
http
.x509(Customizer.withDefaults())
.authorizeExchange(exchanges -> exchanges
.authorizeExchange((exchanges) -> exchanges
.anyExchange().authenticated()
);
// @formatter:on
@@ -44,7 +44,7 @@ public class DefaultX509Configuration {
// @formatter:off
http
.x509(Customizer.withDefaults())
.authorizeHttpRequests(exchanges -> exchanges
.authorizeHttpRequests((exchanges) -> exchanges
.anyRequest().authenticated()
);
// @formatter:on