Add generic types parameters to methods
---------------------------------------

                 Key: HTTPCLIENT-828
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-828
             Project: HttpComponents HttpClient
          Issue Type: Improvement
          Components: HttpClient
    Affects Versions: Future
         Environment: All
            Reporter: Elchin


There currently is a void addParameter(String paramName, String paramValue)  
method in org.apache.commons.httpclient.methods.PostMethod. I was thinking why 
not to make it to handle generic type for paramValue? It is a simple change, 
but will give a lot of facility, since primitive types can also be handled via 
autoboxing. Implementation-wise it should also not be a problem, because we can 
call toString method of an object, and generic types in Java by default work 
with object.

How can I get the necessary permissions to commit this change?

Thank you 

Elchin


-- 
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]

Reply via email to