You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Elchin (JIRA)" <ji...@apache.org> on 2009/02/24 14:56:02 UTC
[jira] Created: (HTTPCLIENT-828) Add generic types parameters to
methods
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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[jira] Commented: (HTTPCLIENT-828) Add generic types parameters to
methods
Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCLIENT-828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676297#action_12676297 ]
Oleg Kalnichevski commented on HTTPCLIENT-828:
----------------------------------------------
Generics cannot be used in HttpClient 3.x code due to Java 1.2.2 compatibility requirement. You are welcome to contribute a patch for HttpClient 4.0, though
> How can I get the necessary permissions to commit this change?
One needs to become a committer in order to get permissions to commit code to the ASF repository.
Oleg
> 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
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[jira] Commented: (HTTPCLIENT-828) Add generic types parameters to
methods
Posted by "Elchin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCLIENT-828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676312#action_12676312 ]
Elchin commented on HTTPCLIENT-828:
-----------------------------------
Thanks for quick response!
Probably a stupid question, but how should I become a commiter? Whom do I need to ask for permission?
> 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
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[jira] Commented: (HTTPCLIENT-828) Add generic types parameters to
methods
Posted by "Elchin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCLIENT-828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676314#action_12676314 ]
Elchin commented on HTTPCLIENT-828:
-----------------------------------
Do I change beta-2 or beta-3? Because I have seen that there is beta-3 for download, but repository link is for beta-2 only.
> 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
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[jira] Commented: (HTTPCLIENT-828) Add generic types parameters to
methods
Posted by "Elchin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCLIENT-828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676562#action_12676562 ]
Elchin commented on HTTPCLIENT-828:
-----------------------------------
> This is not just a matter of asking. Committership must be earned.
How? :)
>All changes should be made against SVN trunk
>http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/
Thanks for the info! I will update the code as soon as I become committer ;)
> 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
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[jira] Commented: (HTTPCLIENT-828) Add generic types parameters to
methods
Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCLIENT-828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676569#action_12676569 ]
Oleg Kalnichevski commented on HTTPCLIENT-828:
----------------------------------------------
This guide has been written for Apache Incubator but the principles equally apply to all Apache projects
http://incubator.apache.org/guides/participation.html
Oleg
> 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
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[jira] Commented: (HTTPCLIENT-828) Add generic types parameters to
methods
Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCLIENT-828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676556#action_12676556 ]
Oleg Kalnichevski commented on HTTPCLIENT-828:
----------------------------------------------
> but how should I become a commiter? Whom do I need to ask for permission?
This is not just a matter of asking. Committership must be earned.
> Do I change beta-2 or beta-3?
All changes should be made against SVN trunk
http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/
Oleg
> 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
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[jira] Resolved: (HTTPCLIENT-828) Add generic types parameters to
methods
Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCLIENT-828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kalnichevski resolved HTTPCLIENT-828.
------------------------------------------
Resolution: Won't Fix
> 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
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org