diff options
Diffstat (limited to 'java')
-rw-r--r-- | java/applet/AppletContext.java | 8 | ||||
-rw-r--r-- | java/lang/ClassLoader.java | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/java/applet/AppletContext.java b/java/applet/AppletContext.java index 20206efa7..13c077074 100644 --- a/java/applet/AppletContext.java +++ b/java/applet/AppletContext.java @@ -130,7 +130,7 @@ public interface AppletContext * @throws IOException if the stream is too large * @since 1.4 */ - public void setStream(String key, InputStream stream) throws IOException; + void setStream(String key, InputStream stream) throws IOException; /** * Return the stream associated with a given key in this applet context, or @@ -141,14 +141,14 @@ public interface AppletContext * @return the associated stream, or null * @since 1.4 */ - public InputStream getStream(String key); + InputStream getStream(String key); /** - * Iterate over all keys that have associated streams. Sttream associated + * Iterate over all keys that have associated streams. Stream associated * are local to the applet context, for security purposes. * * @return an iterator over the association keys * @since 1.4 */ - public Iterator getStreamKeys(); + Iterator getStreamKeys(); } // interface AppletContext diff --git a/java/lang/ClassLoader.java b/java/lang/ClassLoader.java index bd0c8e81d..0ba1d16b7 100644 --- a/java/lang/ClassLoader.java +++ b/java/lang/ClassLoader.java @@ -842,7 +842,7 @@ public abstract class ClassLoader * @return the package, if defined * @since 1.2 */ - protected final Package getPackage(String name) + protected Package getPackage(String name) { Package p; if (parent == null) |