classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] Patch: FYI: URLConnection javadoc fixes


From: Tom Tromey
Subject: [cp-patches] Patch: FYI: URLConnection javadoc fixes
Date: 29 Sep 2005 17:36:34 -0600
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

I'm checking this in.

This fixes some javadoc problems I noticed in URLConnection.

Tom

2005-09-29  Tom Tromey  <address@hidden>

        * java/net/URLConnection.java (setDoInput): Javadoc fix.
        (setDoOutput): Likewise.
        (setContentHandlerFactory): Likewise.
        (setFileNameMap): Likewise.

Index: java/net/URLConnection.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/net/URLConnection.java,v
retrieving revision 1.34
diff -u -r1.34 URLConnection.java
--- java/net/URLConnection.java 2 Jul 2005 20:32:39 -0000       1.34
+++ java/net/URLConnection.java 29 Sep 2005 23:41:28 -0000
@@ -530,7 +530,7 @@
   }
 
   /**
-   * 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.
    *
@@ -560,7 +560,7 @@
   }
 
   /**
-   * 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
    *
@@ -851,7 +851,7 @@
   }
 
   /**
-   * 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.
@@ -933,7 +933,7 @@
   }
 
   /**
-   * This method set the <code>FileNameMap</code> object being used
+   * This method sets the <code>FileNameMap</code> object being used
    * to decode MIME types by file extension.
    *
    * @param map The <code>FileNameMap</code>.




reply via email to

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