Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 49237 invoked from network); 3 Jan 2008 14:13:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jan 2008 14:13:26 -0000 Received: (qmail 8658 invoked by uid 500); 3 Jan 2008 14:13:15 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 8630 invoked by uid 500); 3 Jan 2008 14:13:15 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 8621 invoked by uid 99); 3 Jan 2008 14:13:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2008 06:13:15 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2008 14:13:00 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 764F41A9832; Thu, 3 Jan 2008 06:13:05 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r608494 - /harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/SocketImpl.java Date: Thu, 03 Jan 2008 14:13:04 -0000 To: commits@harmony.apache.org From: tellison@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080103141305.764F41A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: tellison Date: Thu Jan 3 06:13:03 2008 New Revision: 608494 URL: http://svn.apache.org/viewvc?rev=608494&view=rev Log: Remove unused import, correct spelling errors, and minor formatting improvements. Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/SocketImpl.java Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/SocketImpl.java URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/SocketImpl.java?rev=608494&r1=608493&r2=608494&view=diff ============================================================================== --- harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/SocketImpl.java (original) +++ harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/SocketImpl.java Thu Jan 3 06:13:03 2008 @@ -20,7 +20,6 @@ import java.io.FileDescriptor; import java.io.IOException; import java.io.InputStream; -import java.io.InterruptedIOException; import java.io.OutputStream; import org.apache.harmony.luni.platform.INetworkSystem; @@ -33,9 +32,9 @@ * Streaming sockets are wrapped by two classes, ServerSocket and Socket at the * server and client end of a connection respectively. At the server there are * two types of sockets engaged in communication, the ServerSocket - * on a well known port (hereafter refered to as the listener) used to establish - * a connection and the resulting Socket (hereafter refered to as - * host). + * on a well known port (hereafter referred to as the listener) used to + * establish a connection and the resulting Socket (hereafter + * referred to as host). * * Some of the SocketImpl instance variable values must be * interpreted in the context of the wrapper. See the getter methods for these @@ -82,7 +81,7 @@ * Answer the number of bytes that may be read from this socket without * blocking. This call does not block. * - * @return int the number of bytes that may be read without blocking + * @return the number of bytes that may be read without blocking * @exception SocketException * if an error occurs while peeking */ @@ -155,10 +154,10 @@ } /** - * Answer the socket's address. Refering to the class comment: Listener: The - * local machines IP address to which this socket is bound. Host: The client - * machine, to which this socket is connected. Client: The host machine, to - * which this socket is connected. + * Answer the socket's address. Referring to the class comment: Listener: + * The local machines IP address to which this socket is bound. Host: The + * client machine, to which this socket is connected. Client: The host + * machine, to which this socket is connected. * * @return InetAddress the socket address */ @@ -180,7 +179,7 @@ * demand will go to the IP stack to get the bound value. See the class * comment for the context of the local port. * - * @return int the socket localport + * @return the socket localport */ protected int getLocalPort() { @@ -211,7 +210,7 @@ * Answer the socket's remote port. This value is not meaningful when the * socketImpl is wrapped by a ServerSocket. * - * @return int the remote port the socket is connected to + * @return the remote port the socket is connected to */ protected int getPort() { return port; @@ -246,7 +245,7 @@ * Answers a string containing a concise, human-readable description of the * socket. * - * @return String the description + * @return the description */ @SuppressWarnings("nls") @Override @@ -266,7 +265,7 @@ * the offset into the buffer * @param count * the number of bytes to write - * @return int the actual number of bytes written + * @return the actual number of bytes written * @exception IOException * thrown if an error occurs while writing */ @@ -281,11 +280,11 @@ /** * Shutdown the input portion of the socket. * - * The default implementation always throws an {@link IOException} - * to indicate that the subclass should have overridden this - * method. + * The default implementation always throws an {@link IOException} to + * indicate that the subclass should have overridden this method. * - * @throws IOException Always. Designed to be subclassed. + * @throws IOException + * Always. Designed to be subclassed. */ protected void shutdownInput() throws IOException { // KA025=Method has not been implemented @@ -295,11 +294,11 @@ /** * Shutdown the output portion of the socket. * - * The default implementation always throws an {@link IOException} - * to indicate that the subclass should have overridden this - * method. + * The default implementation always throws an {@link IOException} to + * indicate that the subclass should have overridden this method. * - * @throws IOException Always. Designed to be subclassed. + * @throws IOException + * Always. Designed to be subclassed. */ protected void shutdownOutput() throws IOException { // KA025=Method has not been implemented