This commit is contained in:
Phillip Webb
2014-11-10 19:13:34 -08:00
parent 5811f6e3f5
commit 3c9476fbe6
2 changed files with 4 additions and 3 deletions

View File

@@ -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) {