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

ASF subversion and git services commented on HTTPCLIENT-2031:
-------------------------------------------------------------

Commit 6cff260eff9831f40a4d5ba3481be35cbdf6815f in httpcomponents-client's 
branch refs/heads/master from Michael Osipov
[ https://gitbox.apache.org/repos/asf?p=httpcomponents-client.git;h=6cff260 ]

HTTPCLIENT-2031: Don't use plural names for enums

This closes #180


> Don't use plural names for enums
> --------------------------------
>
>                 Key: HTTPCLIENT-2031
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2031
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient (async), HttpClient (classic)
>    Affects Versions: 5.0 Beta6
>            Reporter: Michael Osipov
>            Assignee: Michael Osipov
>            Priority: Major
>             Fix For: 5.0 Beta7
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> In Java world, the general concensus to have enum names to be singular, yes 
> some of are in plural:
> {noformat}
> org.apache.hc.client5.http.async.methods.HttpRequests
> org.apache.hc.client5.http.async.methods.SimpleHttpRequests
> org.apache.hc.client5.http.auth.AuthSchemes
> org.apache.hc.client5.http.classic.methods.ClassicHttpRequests
> org.apache.hc.client5.http.cookie.CookieSpecs
> org.apache.hc.client5.http.impl.ChainElements
> {noformat}
> See also https://docs.oracle.com/javase/tutorial/java/javaOO/enum.html and 
> https://stackoverflow.com/a/15756009/696632
> If no one objects ([~olegk],  [~ggregory]), I will alter this on master.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to