Implement remainder of Spring Boot Checkstyle code rules

Fixes #532

Implements most of the remaining rules from Spring Boot, except JavaDoc + a few additional ones
This commit is contained in:
Marius Bogoevici
2016-05-12 15:55:03 -04:00
parent bbe5b3ee56
commit 18dc0a707d
97 changed files with 546 additions and 365 deletions

View File

@@ -47,7 +47,8 @@ public class KryoCodecAutoConfiguration {
@Autowired
ApplicationContext applicationContext;
@Autowired KryoCodecProperties kryoCodecProperties;
@Autowired
KryoCodecProperties kryoCodecProperties;
@Bean
public PojoCodec codec() {

View File

@@ -27,7 +27,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
@JsonInclude(JsonInclude.Include.NON_DEFAULT)
public class KryoCodecProperties {
private boolean references = true;
public boolean isReferences() {
return references;
}
@@ -35,5 +35,5 @@ public class KryoCodecProperties {
public void setReferences(boolean references) {
this.references = references;
}
}