6918447: SynthToolBarUI.setBorderToXXXX() methods don't correspond inherited spec. They do nothing.
Reviewed-by: peterz
--- 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) {}