6918447: SynthToolBarUI.setBorderToXXXX() methods don't correspond inherited spec. They do nothing.
authorrupashka
Sat, 27 Feb 2010 14:47:38 +0300
changeset 4962 8e27c99de375
parent 4961 782d808b538f
child 4963 004eaf21ba24
6918447: SynthToolBarUI.setBorderToXXXX() methods don't correspond inherited spec. They do nothing. Reviewed-by: peterz
jdk/src/share/classes/javax/swing/plaf/synth/SynthToolBarUI.java
--- a/jdk/src/share/classes/javax/swing/plaf/synth/SynthToolBarUI.java	Sat Feb 27 14:26:04 2010 +0300
+++ b/jdk/src/share/classes/javax/swing/plaf/synth/SynthToolBarUI.java	Sat Feb 27 14:47:38 2010 +0300
@@ -248,23 +248,26 @@
                                                 toolBar.getOrientation());
     }
 
-    // Overloaded to do nothing so we can share listeners.
     /**
-     * @inheritDoc
+     * This implementation does nothing, because the {@code rollover}
+     * property of the {@code JToolBar} class is not used
+     * in the Synth Look and Feel.
      */
     @Override
     protected void setBorderToNonRollover(Component c) {}
 
-    // Overloaded to do nothing so we can share listeners.
     /**
-     * @inheritDoc
+     * This implementation does nothing, because the {@code rollover}
+     * property of the {@code JToolBar} class is not used
+     * in the Synth Look and Feel.
      */
     @Override
     protected void setBorderToRollover(Component c) {}
 
-    // Overloaded to do nothing so we can share listeners.
     /**
-     * @inheritDoc
+     * This implementation does nothing, because the {@code rollover}
+     * property of the {@code JToolBar} class is not used
+     * in the Synth Look and Feel.
      */
     @Override
     protected void setBorderToNormal(Component c) {}