Integrated: 8269424: Some SuppressWarnings annotations can be more localized
Kevin Rushforth
kcr at openjdk.java.net
Tue Jun 29 12:06:03 UTC 2021
On Sat, 26 Jun 2021 13:01:15 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:
> This is a follow-on fix to [JDK-8264139](https://bugs.openjdk.java.net/browse/JDK-8264139), which added `@SuppressWarning` annotations to usages of deprecated security manager methods. @wangweij noticed that there was one pattern where the automated tool added the warning at a higher level than was needed. This fix moves the annotation down to be more localized in the two places that were affected.
This pull request has now been integrated.
Changeset: 50ed890f
Author: Kevin Rushforth <kcr at openjdk.org>
URL: https://git.openjdk.java.net/jfx/commit/50ed890f55e073ba1abe457dfaaba5cd7c84e8b9
Stats: 4 lines in 2 files changed: 2 ins; 2 del; 0 mod
8269424: Some SuppressWarnings annotations can be more localized
Co-authored-by: Weijun Wang <weijun at openjdk.org>
Reviewed-by: aghaisas, pbansal
-------------
PR: https://git.openjdk.java.net/jfx/pull/546
More information about the openjfx-dev
mailing list