Fork me on GitHub

Résultats CPD

Le document suivant contient les résultats de l'inspection CPD CPD 6.13.0.

Duplicatas

Fichier Ligne
fr/paris/lutece/plugins/broadcastproxy/business/providers/dolist/DolistHttpAccess.java 105
fr/paris/lutece/plugins/broadcastproxy/business/providers/dolist/DolistHttpAccess.java 147
        HttpPost method = new HttpPost( strUrl );

        try
        {
            // Add headershttpPost
            if ( headers != null )
            {
                for ( String headerType : headers.keySet( ) )
                {
                    method.setHeader( headerType, headers.get( headerType ) );
                }
            }

            StringEntity entity = new StringEntity( jsonParams );
            method.setEntity( entity );

            // add proxy
            HttpHost proxy = new HttpHost( PROXY_ADR, PROXY_PORT );
            RequestConfig config = RequestConfig.custom( ).setProxy( proxy ).build( );
            method.setConfig( config );

            httpResponse = client.execute( method );
        }
        catch( IOException e )
        {
            String strError = "HttpPost - Error connecting to '" + strUrl + "' : ";