Use parenthesis with single-arg lambdas
Use regular expression search/replace to ensure all single-arg lambdas have parenthesis. This aligns with the style used in Spring Boot and ensure that single-arg and multi-arg lambdas are consistent. Issue gh-8945
This commit is contained in:
@@ -53,7 +53,7 @@ public class HelloRSocketApplicationITests {
|
||||
public void messageWhenAuthenticatedThenSuccess() {
|
||||
UsernamePasswordMetadata credentials = new UsernamePasswordMetadata("user", "password");
|
||||
RSocketRequester requester = this.requester
|
||||
.rsocketStrategies(builder -> builder.encoder(new BasicAuthenticationEncoder()))
|
||||
.rsocketStrategies((builder) -> builder.encoder(new BasicAuthenticationEncoder()))
|
||||
.setupMetadata(credentials, BASIC_AUTHENTICATION_MIME_TYPE)
|
||||
.connectTcp("localhost", this.port)
|
||||
.block();
|
||||
|
||||
Reference in New Issue
Block a user