Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-554

Simplify TelnetOptionHandler class hierarchy

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.3
    • 3.4
    • Telnet
    • None

    Description

      The TelnetOptionHandler class contains the following abstract methods:

      answerSubnegotiation
      startSubnegotiationLocal
      startSubnegotiationRemote

      In almost all the sub-classes, the implementation returns null.

      The code could be simplified by returning null in the parent class and dropping the sub-class implementations that just return null.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: