aboutsummaryrefslogtreecommitdiff
path: root/src/lombok/eclipse/EclipseAST.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/lombok/eclipse/EclipseAST.java')
-rw-r--r--src/lombok/eclipse/EclipseAST.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lombok/eclipse/EclipseAST.java b/src/lombok/eclipse/EclipseAST.java
index 850fb8dc..07ca5f11 100644
--- a/src/lombok/eclipse/EclipseAST.java
+++ b/src/lombok/eclipse/EclipseAST.java
@@ -302,7 +302,7 @@ public class EclipseAST extends AST<ASTNode> {
}
private static boolean isComplete(CompilationUnitDeclaration unit) {
- return (unit.bits & ASTNode.HasAllMethodBodies) > 0;
+ return (unit.bits & ASTNode.HasAllMethodBodies) != 0;
}
@Override protected Node buildTree(ASTNode node, Kind kind) {