Name: gm110360 Date: 03/03/2003
A DESCRIPTION OF THE PROBLEM :
The descriptions of the isInputShutdown() and isOutputShutdown() methods of java.net.Socket contain a typographical error. The comments say "wether" where they should say "whether".
EXPECTED VERSUS ACTUAL BEHAVIOR :
Returns whether the read-half of the socket connection is closed.
Returns whether the write-half of the socket connection is closed.
Returns wether the read-half of the socket connection is closed.
Returns wether the write-half of the socket connection is closed.
URL OF FAULTY DOCUMENTATION :
http://java.sun.com/j2se/1.4.1/docs/api/java/net/Socket.html#isInputShutdown()
(Review ID: 181997)
======================================================================
A DESCRIPTION OF THE PROBLEM :
The descriptions of the isInputShutdown() and isOutputShutdown() methods of java.net.Socket contain a typographical error. The comments say "wether" where they should say "whether".
EXPECTED VERSUS ACTUAL BEHAVIOR :
Returns whether the read-half of the socket connection is closed.
Returns whether the write-half of the socket connection is closed.
Returns wether the read-half of the socket connection is closed.
Returns wether the write-half of the socket connection is closed.
URL OF FAULTY DOCUMENTATION :
http://java.sun.com/j2se/1.4.1/docs/api/java/net/Socket.html#isInputShutdown()
(Review ID: 181997)
======================================================================
- duplicates
-
JDK-4913473 Documentation typo error on java.net.Socket()
-
- Resolved
-