mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 18:15:59 +00:00
[trivial] Added a suppress warnings
(to suppress an expected and in this case analysed to be harmless, intentional use of our own deprecated API)
This commit is contained in:
1 parent
5eaf74ec22
commit
9491bce602
1 file changed
+1
@@ -109,6 +109,7 @@ public class HandlerUtil {
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
public static boolean shouldAddGenerated(LombokNode<?, ?, ?> node) {
|
||||
Boolean add = node.getAst().readConfiguration(ConfigurationKeys.ADD_JAVAX_GENERATED_ANNOTATIONS);
|
||||
if (add != null) return add;
|
||||
|
||||
Reference in new issue
Block a user