aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2017-02-13 20:40:03 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2017-02-13 20:40:03 +0100
commit9491bce6021d22c98dd615821d5dbb9fdf5e3fc5 (patch)
treeae10328881a2dbb10985dfe47a8e7271832cda05 /src/core/lombok
parent5eaf74ec22879e8fabc3f9d86a520fc04a097dc3 (diff)
downloadlombok-9491bce6021d22c98dd615821d5dbb9fdf5e3fc5.tar.gz
lombok-9491bce6021d22c98dd615821d5dbb9fdf5e3fc5.tar.bz2
lombok-9491bce6021d22c98dd615821d5dbb9fdf5e3fc5.zip
[trivial] Added a suppress warnings
(to suppress an expected and in this case analysed to be harmless, intentional use of our own deprecated API)
Diffstat (limited to 'src/core/lombok')
-rw-r--r--src/core/lombok/core/handlers/HandlerUtil.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lombok/core/handlers/HandlerUtil.java b/src/core/lombok/core/handlers/HandlerUtil.java
index 7e6d6d66..6c3a0b79 100644
--- a/src/core/lombok/core/handlers/HandlerUtil.java
+++ b/src/core/lombok/core/handlers/HandlerUtil.java
@@ -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;