changeset 42722:ab37f3c53f9c

8048702: Deprecate obsolete classes in javax/swing/plaf/metal/MetalFileChooserUI.java Reviewed-by: serb, alexsch
author psadhukhan
date Thu, 24 Nov 2016 11:58:52 +0530
parents 64c57d4076e6
children 830c2a93d94f
files jdk/src/java.desktop/share/classes/javax/swing/plaf/metal/MetalFileChooserUI.java
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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  {
     }