Apply Checkstyle WhitespaceAfterCheck module

This commit is contained in:
Johnny Lim
2017-11-16 06:19:44 +09:00
committed by Rob Winch
parent 523332d51f
commit b6895e6359
88 changed files with 811 additions and 808 deletions

View File

@@ -87,10 +87,10 @@ public class HelloWebfluxApplicationITests {
}
private Consumer<Map<String, Object>> userCredentials() {
return basicAuthenticationCredentials("user","user");
return basicAuthenticationCredentials("user", "user");
}
private Consumer<Map<String, Object>> invalidCredentials() {
return basicAuthenticationCredentials("user","INVALID");
return basicAuthenticationCredentials("user", "INVALID");
}
}

View File

@@ -32,13 +32,13 @@ import reactor.core.publisher.Mono;
public class HelloUserController {
@GetMapping("/")
public Mono<Map<String,String>> hello(Mono<Principal> principal) {
public Mono<Map<String, String>> hello(Mono<Principal> principal) {
return principal
.map(Principal::getName)
.map(this::helloMessage);
}
private Map<String,String> helloMessage(String username) {
private Map<String, String> helloMessage(String username) {
return Collections.singletonMap("message", "Hello " + username + "!");
}
}

View File

@@ -112,10 +112,10 @@ public class HelloWebfluxApplicationTests {
}
private Consumer<Map<String, Object>> userCredentials() {
return basicAuthenticationCredentials("user","user");
return basicAuthenticationCredentials("user", "user");
}
private Consumer<Map<String, Object>> invalidCredentials() {
return basicAuthenticationCredentials("user","INVALID");
return basicAuthenticationCredentials("user", "INVALID");
}
}