Skip to content

Commit

Permalink
8292280: Unused field 'keyListener' in BasicRadioButtonUI
Browse files Browse the repository at this point in the history
Reviewed-by: jdv, serb
  • Loading branch information
Andrey Turbanov committed Oct 7, 2022
1 parent 0ad6803 commit 2d25c0a
Showing 1 changed file with 1 addition and 8 deletions.
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand All @@ -26,16 +26,11 @@
package javax.swing.plaf.basic;

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.border.*;
import javax.swing.plaf.*;
import javax.swing.text.View;
import sun.swing.SwingUtilities2;
import sun.awt.AppContext;
import java.util.Enumeration;
import java.util.HashSet;
import java.util.Set;

/**
* RadioButtonUI implementation for BasicRadioButtonUI
Expand All @@ -55,8 +50,6 @@ public class BasicRadioButtonUI extends BasicToggleButtonUI

private static final String propertyPrefix = "RadioButton" + ".";

private KeyListener keyListener = null;

// ********************************
// Create PLAF
// ********************************
Expand Down

1 comment on commit 2d25c0a

@openjdk-notifier
Copy link

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.