mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 10:15:53 +00:00
[trivial] removed a warning
This commit is contained in:
1 file changed
+1
-1
@@ -307,7 +307,7 @@ public class HandleNonNull extends JavacAnnotationHandler<NonNull> {
|
||||
if (invocation.args.isEmpty()) return null;
|
||||
JCExpression firstArgument = invocation.args.head;
|
||||
if (!(firstArgument instanceof JCIdent)) return null;
|
||||
return ((JCIdent) firstArgument).toString();
|
||||
return firstArgument.toString();
|
||||
}
|
||||
|
||||
if (isIf) {
|
||||
|
||||
Reference in new issue
Block a user