[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13050685#comment-13050685
 ] 

Oleg Kalnichevski commented on HTTPCLIENT-1086:
-----------------------------------------------

Christian,

This would have broken binary compatibility with older 4.x versions.

[INFO] [clirr:check {execution: default-cli}]
[INFO] Comparing to version: 4.1
[ERROR] org.apache.http.client.entity.UrlEncodedFormEntity: Parameter 1 of 
'public UrlEncodedFormEntity(java.util.List, java.lang.String)' has changed its 
type to java.lang.Iterable
[ERROR] org.apache.http.client.entity.UrlEncodedFormEntity: Parameter 1 of 
'public UrlEncodedFormEntity(java.util.List)' has changed its type to 
java.lang.Iterable
[ERROR] org.apache.http.client.utils.URLEncodedUtils: Parameter 1 of 'public 
java.lang.String format(java.util.List, java.lang.String)' has changed its type 
to java.lang.Iterable


> Use Iterable<? extends UrlEncodedFormEntity> instead of List<? extends 
> UrlEncodedFormEntity> in URLEncodedUtils.format and UrlEncodedFormEntity
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1086
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1086
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpClient
>            Reporter: Marc McCloud
>            Priority: Minor
>             Fix For: 4.2 Alpha1
>
>
> UrlEncodedFormEntity requires a List<? extends UrlEncodedFormEntity> to pass 
> it to URLEncodedUtils.format. It would be nice to use Iterable<? extends 
> UrlEncodedFormEntity> to be able to use other collections, e.g. a Set<? 
> extends UrlEncodedFormEntity>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to