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

Incorrect comment in example class ClientMultiThreadedExecution.java

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 5.0 Beta1
    • Fix Version/s: 5.0 Beta2
    • Component/s: HttpClient (classic)
    • Labels:
      None
    • Environment:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: