Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-1898

Incorrect comment in example class ClientMultiThreadedExecution.java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 5.0 Beta1
    • 5.0 Beta2
    • HttpClient (classic)
    • None
    • All

    Description

      This can be found in the master branch.

      The file ClientMultiThreadedExecution.java (https://github.com/apache/httpcomponents-client/blob/master/httpclient5/src/examples/org/apache/hc/client5/http/examples/ClientMultiThreadedExecution.java) contains the following comment:

      // Create an HttpClient with the ThreadSafeClientConnManager.

      However, the class ThreadSafeClientConnManager has been deprecated and instead PoolingHttpClientConnectionManager should be used.

      The comment should be updated accordingly.

      Attachments

        Activity

          People

            Unassigned Unassigned
            uromahn Ulrich Romahn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: