< prev index next >
src/share/classes/javax/swing/ButtonGroup.java
Print this page
rev 1527 : 6727662: Code improvement and warnings removing from swing packages
Summary: Removed unnecessary castings and other warnings
Reviewed-by: malenkov
@@ -66,11 +66,11 @@
* @author Jeff Dinkins
*/
public class ButtonGroup implements Serializable {
// the list of buttons participating in this group
- protected Vector<AbstractButton> buttons = new Vector();
+ protected Vector<AbstractButton> buttons = new Vector<AbstractButton>();
/**
* The current selection.
*/
ButtonModel selection = null;
< prev index next >