classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] [generics] Patch: FYI: java.applet


From: Tom Tromey
Subject: [cp-patches] [generics] Patch: FYI: java.applet
Date: 09 Oct 2004 17:48:19 -0600

This updates the only class in java.applet that needed changes for
1.5.  Yay, one package done :-)

Tom

Index: ChangeLog
from  Tom Tromey  <address@hidden>
        * java/applet/AppletContext.java (getApplets): Updated return
        type.
        (getStreamKeys): Likewise.

Index: java/applet/AppletContext.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/applet/AppletContext.java,v
retrieving revision 1.7
diff -u -r1.7 AppletContext.java
--- java/applet/AppletContext.java 13 Nov 2002 03:48:51 -0000 1.7
+++ java/applet/AppletContext.java 9 Oct 2004 23:50:12 -0000
@@ -1,5 +1,5 @@
 /* AppletContext.java -- access the applet's runtime environment
-   Copyright (C) 1999, 2002 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2002, 2004 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -52,7 +52,7 @@
  *
  * @author Aaron M. Renn (address@hidden)
  * @since 1.0
- * @status updated to 1.4
+ * @status updated to 1.5
  */
 public interface AppletContext
 {
@@ -90,7 +90,7 @@
    *
    * @return a list of all the applets
    */
-  Enumeration getApplets();
+  Enumeration<Applet> getApplets();
 
   /**
    * Displays the web page pointed to by the specified URL in the window
@@ -150,5 +150,5 @@
    * @return an iterator over the association keys
    * @since 1.4
    */
-  Iterator getStreamKeys();
+  Iterator<String> getStreamKeys();
 } // interface AppletContext




reply via email to

[Prev in Thread] Current Thread [Next in Thread]