From f4e1433a02a9bd5e2ddecd0d346d57876ad53307 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Thu, 17 Nov 2005 20:38:40 +0000 Subject: [multiple changes] 2005-11-17 Mark Wielaard * gnu/java/net/protocol/file/Handler.java: Removed, fully merged now. * java/net/ServerSocket.java: Likewise. * sources.am: Regenerated. * Makefile.in: Regenerated. 2005-11-17 Mark Wielaard Fixes bug #24006 * java/net/ServerSocket.java (implAccept): Set Socket.bound to true. 2005-11-17 Tom Tromey * java/net/ServerSocket.java (accept): Use correct security manager call. 2005-11-17 Jeroen Frijters * java/net/ServerSocket.java (bound): Removed. (local): New field. (bind): Cache local socket address. (getInetAddress, getLocalPort, getLocalSocketAddress, isBound): Use cached local socket address. (close): bound field was removed. 2005-11-17 Tom Tromey * java/net/URLConnection.java (setDoInput): Javadoc fix. (setDoOutput): Likewise. (setContentHandlerFactory): Likewise. (setFileNameMap): Likewise. 2005-11-17 Mark Wielaard * java/net/URLClassloader.java (addURLs): Add comment about jboss. 2005-11-17 Mark Wielaard * java/net/URLClassLoader.java (addURLs): Don't call addURL(), but call urls.add() and addURLImpl() directly on each URL. 2005-11-17 Tom Tromey * java/net/URLClassLoader.java (definePackage): Javadoc fixes. 2005-11-17 Jeroen Frijters * java/net/URLClassLoader.java (Resource.name): Removed field. (JarURLResource.name): Added field. (FileResource.getURL): Use File.toURL() instead of doing it in a way that breaks on Windows. 2005-11-17 Roman Kennke Reported by: Ingo Proetel * java/net/URLClassLoader.java (findClass): Added null check to avoid NullPointerException. 2005-11-17 David Gilbert * java/net/URLClassLoader.java: reordered some API doc comments to suppress Eclipse warnings, and fixed API doc link. 2005-11-17 Tom Tromey * java/net/URLClassLoader.java (URLClassLoader): Removed unused constructor. 2005-11-17 Jeroen Frijters * java/net/URLClassLoader (findClass): Close InputStream after we're done with it. From-SVN: r107133 --- libjava/java/net/URLConnection.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libjava/java/net/URLConnection.java') diff --git a/libjava/java/net/URLConnection.java b/libjava/java/net/URLConnection.java index 55b9d664dc7..b5e4cb06241 100644 --- a/libjava/java/net/URLConnection.java +++ b/libjava/java/net/URLConnection.java @@ -539,7 +539,7 @@ public abstract class URLConnection } /** - * Returns the value of a flag indicating whether or not input is going + * Sets the value of a flag indicating whether or not input is going * to be done for this connection. This default to true unless the * doOutput flag is set to false, in which case this defaults to false. * @@ -569,7 +569,7 @@ public abstract class URLConnection } /** - * Returns a boolean flag indicating whether or not output will be done + * Sets a boolean flag indicating whether or not output will be done * on this connection. The default value is false, so this method can * be used to override the default * @@ -860,7 +860,7 @@ public abstract class URLConnection } /** - * Set's the ContentHandlerFactory for an application. This can be called + * Sets the ContentHandlerFactory for an application. This can be called * once and only once. If it is called again, then an Error is thrown. * Unlike for other set factory methods, this one does not do a security * check prior to setting the factory. @@ -956,7 +956,7 @@ public abstract class URLConnection } /** - * This method set the FileNameMap object being used + * This method sets the FileNameMap object being used * to decode MIME types by file extension. * * @param map The FileNameMap. -- cgit v1.2.3