diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2017-02-13 20:40:03 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2017-02-13 20:40:03 +0100 |
commit | 9491bce6021d22c98dd615821d5dbb9fdf5e3fc5 (patch) | |
tree | ae10328881a2dbb10985dfe47a8e7271832cda05 | |
parent | 5eaf74ec22879e8fabc3f9d86a520fc04a097dc3 (diff) | |
download | lombok-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)
-rw-r--r-- | src/core/lombok/core/handlers/HandlerUtil.java | 1 |
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; |