[
https://issues.apache.org/jira/browse/HTTPCORE-136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrea Selva updated HTTPCORE-136:
----------------------------------
Attachment: fix_136.patch
Hi Oleg,
I think this could be an usable patch. Only one note,in removeParameter method
i didn't used the follow code:
if (this.parameters.remove(name) != null) {
return true;
} else {
return false;
}
because i lost the case where the name key has a null value.
Best regards
Andrea
> HttpParams has no removeParameter
> ---------------------------------
>
> Key: HTTPCORE-136
> URL: https://issues.apache.org/jira/browse/HTTPCORE-136
> Project: HttpComponents Core
> Issue Type: Improvement
> Components: HttpCore
> Affects Versions: 4.0-alpha6
> Reporter: Roland Weber
> Priority: Minor
> Fix For: 4.0-beta1
>
> Attachments: fix_136.patch
>
>
> Interface HttpParams has methods to set and query parameter values, but not
> to remove one.
> A set operation with null value could be used, but the semantic for hierarchy
> lookup of a parameter
> set to null may be different than for a parameter not set at all.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]