8264743: Add forRemoval for deprecated classes and method in javax/swing/plaf/basic
Reviewed-by: trebari, prr
This commit is contained in:
parent
c0275e18b7
commit
b4900b1298
@ -228,7 +228,7 @@ public class BasicDirectoryModel extends AbstractListModel<Object> implements Pr
|
||||
* @param e list data event
|
||||
* @deprecated Obsolete method, not used anymore.
|
||||
*/
|
||||
@Deprecated(since = "17")
|
||||
@Deprecated(since = "17", forRemoval = true)
|
||||
public void intervalAdded(ListDataEvent e) {
|
||||
}
|
||||
|
||||
@ -237,7 +237,7 @@ public class BasicDirectoryModel extends AbstractListModel<Object> implements Pr
|
||||
* @param e list data event
|
||||
* @deprecated Obsolete method, not used anymore.
|
||||
*/
|
||||
@Deprecated(since = "17")
|
||||
@Deprecated(since = "17", forRemoval = true)
|
||||
public void intervalRemoved(ListDataEvent e) {
|
||||
}
|
||||
|
||||
@ -257,7 +257,7 @@ public class BasicDirectoryModel extends AbstractListModel<Object> implements Pr
|
||||
* @param b another file
|
||||
* @deprecated Obsolete method, not used anymore.
|
||||
*/
|
||||
@Deprecated(since = "17")
|
||||
@Deprecated(since = "17", forRemoval = true)
|
||||
protected boolean lt(File a, File b) {
|
||||
// First ignore case when comparing
|
||||
int diff = a.getName().toLowerCase().compareTo(b.getName().toLowerCase());
|
||||
|
@ -928,7 +928,7 @@ public class BasicMenuItemUI extends MenuItemUI
|
||||
* All its functionality has been moved into Handler.
|
||||
* @deprecated
|
||||
*/
|
||||
@Deprecated(since = "17")
|
||||
@Deprecated(since = "17", forRemoval = true)
|
||||
protected class MouseInputHandler implements MouseInputListener {
|
||||
// NOTE: This class exists only for backward compatibility. All
|
||||
// its functionality has been moved into Handler. If you need to add
|
||||
|
@ -500,7 +500,7 @@ public class BasicScrollPaneUI
|
||||
* All its functionality has been moved into Handler.
|
||||
* @deprecated
|
||||
*/
|
||||
@Deprecated(since = "17")
|
||||
@Deprecated(since = "17", forRemoval = true)
|
||||
public class ViewportChangeHandler implements ChangeListener
|
||||
{
|
||||
/**
|
||||
@ -534,7 +534,7 @@ public class BasicScrollPaneUI
|
||||
* All its functionality has been moved into Handler.
|
||||
* @deprecated
|
||||
*/
|
||||
@Deprecated(since = "17")
|
||||
@Deprecated(since = "17", forRemoval = true)
|
||||
public class HSBChangeListener implements ChangeListener
|
||||
{
|
||||
/**
|
||||
@ -577,7 +577,7 @@ public class BasicScrollPaneUI
|
||||
* All its functionality has been moved into Handler.
|
||||
* @deprecated
|
||||
*/
|
||||
@Deprecated(since = "17")
|
||||
@Deprecated(since = "17", forRemoval = true)
|
||||
public class VSBChangeListener implements ChangeListener
|
||||
{
|
||||
/**
|
||||
@ -786,7 +786,7 @@ public class BasicScrollPaneUI
|
||||
* All its functionality has been moved into Handler.
|
||||
* @deprecated
|
||||
*/
|
||||
@Deprecated(since = "17")
|
||||
@Deprecated(since = "17", forRemoval = true)
|
||||
public class PropertyChangeHandler implements PropertyChangeListener
|
||||
{
|
||||
/**
|
||||
|
@ -551,7 +551,7 @@ public class BasicToolBarUI extends ToolBarUI implements SwingConstants
|
||||
* @deprecated It is recommended that {@link BasicToolBarUI#createFloatingWindow(JToolBar)}
|
||||
* be used instead
|
||||
*/
|
||||
@Deprecated(since = "17")
|
||||
@Deprecated(since = "17", forRemoval = true)
|
||||
protected JFrame createFloatingFrame(JToolBar toolbar) {
|
||||
Window window = SwingUtilities.getWindowAncestor(toolbar);
|
||||
@SuppressWarnings("serial") // anonymous class
|
||||
|
Loading…
Reference in New Issue
Block a user