summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2002-11-13 03:48:51 +0000
committerEric Blake <ebb9@byu.net>2002-11-13 03:48:51 +0000
commit8202b1548926463edb16b423c01221b301372ec8 (patch)
tree764406824dac5dc91dedc8cbc83a62013884d40f /java
parentfd2fe28a7eba2cd2ca1a7dbd38447dc033ae71c5 (diff)
downloadclasspath-8202b1548926463edb16b423c01221b301372ec8.tar.gz
2002-11-12 Eric Blake <ebb9@email.byu.edu>
* java/applet/AppletContext.java: Fix typo and remove redundant modifiers. * java/lang/ClassLoader.java (getPackage): Not final.
Diffstat (limited to 'java')
-rw-r--r--java/applet/AppletContext.java8
-rw-r--r--java/lang/ClassLoader.java2
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)