diff options
author | Tom Tromey <tromey@redhat.com> | 2006-03-03 22:14:34 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2006-03-03 22:14:34 +0000 |
commit | cb35a91377f1dc2d7b1b5bc4c70ab91cbb36506f (patch) | |
tree | 0f5407f9eed7de3c53e91d55d4c9901ee79ec991 | |
parent | 2100fe4c02f229002ad7bdb563519f618d5397fe (diff) | |
download | classpath-cb35a91377f1dc2d7b1b5bc4c70ab91cbb36506f.tar.gz |
* java/awt/MenuBar.java (shortcuts): Genericized.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | java/awt/MenuBar.java | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,9 @@ 2006-03-03 Tom Tromey <tromey@redhat.com> + * java/awt/MenuBar.java (shortcuts): Genericized. + +2006-03-03 Tom Tromey <tromey@redhat.com> + * java/beans/EventSetDescriptor.java (EventSetDescriptor): Genericized. (getListenerType): Likewise. diff --git a/java/awt/MenuBar.java b/java/awt/MenuBar.java index 3c6b91564..3cf708cd5 100644 --- a/java/awt/MenuBar.java +++ b/java/awt/MenuBar.java @@ -267,7 +267,7 @@ public class MenuBar extends MenuComponent * * @return a list of all shortcuts for the menus in this menu bar */ - public synchronized Enumeration shortcuts() + public synchronized Enumeration<MenuShortcut> shortcuts() { Vector shortcuts = new Vector(); Enumeration e = menus.elements(); |