summaryrefslogtreecommitdiff
path: root/libjava/classpath/java/awt/MenuBar.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/java/awt/MenuBar.java')
-rw-r--r--libjava/classpath/java/awt/MenuBar.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/classpath/java/awt/MenuBar.java b/libjava/classpath/java/awt/MenuBar.java
index bd658cde6e3..6737d0419f2 100644
--- a/libjava/classpath/java/awt/MenuBar.java
+++ b/libjava/classpath/java/awt/MenuBar.java
@@ -272,7 +272,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();