@@ -505,11 +505,11 @@ * @see #removeActionListener * @see java.awt.event#ActionListener * @since 1.4 */ public synchronized ActionListener[] getActionListeners() { - return (ActionListener[])(getListeners(ActionListener.class)); + return getListeners(ActionListener.class); } /** * Returns an array of all the objects currently registered * as <code><em>Foo</em>Listener</code>s