Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4826393

Typo in java.net.Socket.is[Input,Output]Shutdown() Javadoc comments.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.1, 1.4.2
    • core-libs
    • x86
    • linux, windows_2000

      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)
      ======================================================================

            chegar Chris Hegarty
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: