You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Karl Wright (JIRA)" <ji...@apache.org> on 2014/02/23 23:52:19 UTC

[jira] [Created] (CONNECTORS-901) Fix deprecation warnings emanating from HttpComponents HttpClient

Karl Wright created CONNECTORS-901:
--------------------------------------

             Summary: Fix deprecation warnings emanating from HttpComponents HttpClient
                 Key: CONNECTORS-901
                 URL: https://issues.apache.org/jira/browse/CONNECTORS-901
             Project: ManifoldCF
          Issue Type: Task
          Components: LiveLink connector, RSS connector, SharePoint connector, Web connector, Wiki connector
    Affects Versions: ManifoldCF 1.5
            Reporter: Karl Wright
            Assignee: Karl Wright
             Fix For: ManifoldCF 1.6


For example:

{code}
    [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]                                     ^
{code}




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)