diff options
Diffstat (limited to 'src/lombok/apt/PKG.java')
-rw-r--r-- | src/lombok/apt/PKG.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lombok/apt/PKG.java b/src/lombok/apt/PKG.java index bbe13379..cf04efaf 100644 --- a/src/lombok/apt/PKG.java +++ b/src/lombok/apt/PKG.java @@ -52,8 +52,7 @@ class PKG { static String toGetterName(Element field) { CharSequence fieldName = field.getSimpleName(); - boolean isBoolean = (field.asType().getKind() == TypeKind.BOOLEAN || - "java.lang.Boolean".equals(field.asType().toString())); + boolean isBoolean = field.asType().getKind() == TypeKind.BOOLEAN; return TransformationsUtil.toGetterName(fieldName, isBoolean); } |