JEP 110 - Violating Naming Convention ?

Pavel Rappo pavel.rappo at oracle.com
Wed Aug 17 13:29:30 UTC 2016


The correct mailing list for issues in java.net area would be
net-dev at openjdk.java.net

IMO, these conventions are just guidelines. One can override them in some
circumstances where it makes a lot of sense. Yes, the barrier for violations
should be high. I believe this is one of the cases.

> On 17 Aug 2016, at 14:12, Rahman USTA <rahman.usta.88 at gmail.com> wrote:
> 
> Hello;
> 
> I'm trying the new HTTP/2 Client API. For example I have a sample code
> below;
> 
> HttpResponse response = HttpRequest
>        .create(URI.create("https://istanbul-jug.org"))
>        .GET()
>        .response();
> 
> System.out.println(response.body(HttpResponse.asString()));
> 
> It works excepted, however I see that the method name GET is written fully
> uppercase. I have never seen this usage yet anywhere in Java. Is that a
> right usage in Java?
> 
> Thanks.
> 
> -- 
> Rahman USTA
> Istanbul JUG
> https://github.com/rahmanusta <http://www.kodcu.com/>



More information about the jdk9-dev mailing list