Polish
This commit is contained in:
parent
5811f6e3f5
commit
3c9476fbe6
|
|
@ -95,8 +95,8 @@ class TypeElementMembers {
|
|||
}
|
||||
|
||||
private boolean isSetterReturnType(ExecutableElement method) {
|
||||
return (TypeKind.VOID == method.getReturnType().getKind()
|
||||
|| method.getEnclosingElement().asType().equals(method.getReturnType()));
|
||||
return (TypeKind.VOID == method.getReturnType().getKind() || method
|
||||
.getEnclosingElement().asType().equals(method.getReturnType()));
|
||||
}
|
||||
|
||||
private String getAccessorName(String methodName) {
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ package org.springframework.boot.configurationsample.specific;
|
|||
import org.springframework.boot.configurationsample.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* Sample with builder style setters.
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
*/
|
||||
|
|
@ -28,7 +29,7 @@ public class BuilderPojo {
|
|||
private String name;
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public BuilderPojo setName(String name) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue