Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-901

Fix deprecation warnings emanating from HttpComponents HttpClient

    XMLWordPrintableJSON

Details

    Description

      For example:

          [javac] C:\wip\mcf\trunk\connectors\wiki\connector\src\main\java\org\apache\manifoldcf\crawler\connectors\wiki\WikiConnector.java:1992: warning: [deprecation] UTF_8 in HTTP has been deprecated
          [javac]     method.setEntity(new UrlEncodedFormEntity(pairs, HTTP.UTF_8));
          [javac]                                                          ^
          [javac] C:\wip\mcf\trunk\connectors\wiki\connector\src\main\java\org\apache\manifoldcf\crawler\connectors\wiki\WikiConnector.java:4648: warning: [deprecation] getContentCharSet(HttpEntity) in EntityUtils has been deprecated
          [javac]         String charSet = EntityUtils.getContentCharSet(entity);
          [javac]                                     ^
      

      Attachments

        Activity

          People

            kwright@metacarta.com Karl Wright
            kwright@metacarta.com Karl Wright
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: