Skip to content
Permalink
Browse files
8269424: Some SuppressWarnings annotations can be more localized
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: aghaisas, pbansal
  • Loading branch information
kevinrushforth and wangweij committed Jun 29, 2021
1 parent 98e5166 commit 50ed890f55e073ba1abe457dfaaba5cd7c84e8b9
Showing 2 changed files with 2 additions and 2 deletions.
@@ -242,8 +242,8 @@ public void clearEntireSceneDirty() {

@Override
public TKClipboard createDragboard(boolean isDragSource) {
@SuppressWarnings("removal")
ClipboardAssistance assistant = new ClipboardAssistance(Clipboard.DND) {
@SuppressWarnings("removal")
@Override
public void actionPerformed(final int performedAction) {
super.actionPerformed(performedAction);
@@ -192,8 +192,8 @@ void resumeReceiver() {
}

// package private only for the sake of testing
@SuppressWarnings("removal")
final PulseReceiver pulseReceiver = new PulseReceiver() {
@SuppressWarnings("removal")
@Override public void timePulse(long now) {
final long elapsedTime = now - startTime;
if (elapsedTime < 0) {

1 comment on commit 50ed890

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 50ed890 Jun 29, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.