8048702: Deprecate obsolete classes in javax/swing/plaf/metal/MetalFileChooserUI.java
authorpsadhukhan
Thu, 24 Nov 2016 11:58:52 +0530
changeset 42722 ab37f3c53f9c
parent 42721 64c57d4076e6
child 42723 830c2a93d94f
8048702: Deprecate obsolete classes in javax/swing/plaf/metal/MetalFileChooserUI.java Reviewed-by: serb, alexsch
jdk/src/java.desktop/share/classes/javax/swing/plaf/metal/MetalFileChooserUI.java
--- a/jdk/src/java.desktop/share/classes/javax/swing/plaf/metal/MetalFileChooserUI.java	Wed Nov 23 18:48:02 2016 +0300
+++ b/jdk/src/java.desktop/share/classes/javax/swing/plaf/metal/MetalFileChooserUI.java	Thu Nov 24 11:58:52 2016 +0530
@@ -571,7 +571,9 @@
 
     /**
      * Obsolete class, not used in this version.
+     * @deprecated As of JDK version 9. Obsolete class.
      */
+    @Deprecated(since = "9")
     protected class SingleClickListener extends MouseAdapter {
         /**
          * Constructs an instance of {@code SingleClickListener}.
@@ -584,7 +586,9 @@
 
     /**
      * Obsolete class, not used in this version.
+     * @deprecated As of JDK version 9. Obsolete class.
      */
+    @Deprecated(since = "9")
     @SuppressWarnings("serial") // Superclass is not serializable across versions
     protected class FileRenderer extends DefaultListCellRenderer  {
     }