Fix checkstyle issues in samples

Fix checkstyle issues with samples following the
spring-javaformat upgrade.

See gh-13932
This commit is contained in:
Phillip Webb
2018-07-28 10:41:56 +01:00
parent 63b609827e
commit 9ca9a491ca
7 changed files with 15 additions and 15 deletions

View File

@@ -21,7 +21,7 @@ public class DefaultEchoService implements EchoService {
private final String echoFormat;
public DefaultEchoService(String echoFormat) {
this.echoFormat = (echoFormat != null ? echoFormat : "%s");
this.echoFormat = (echoFormat != null) ? echoFormat : "%s";
}
@Override