RFR: 8276401: Use blessed modifier order in java.net.http
Daniel Fuchs
daniel.fuchs at oracle.com
Wed Nov 3 14:49:11 UTC 2021
Hi Mark,
On 03/11/2021 14:30, Mark Sheppard wrote:
> a general comment on the static abstract class changes to abstract static class. For me the former and current declarations seems more appropriate, that is, static abstract class, as the static modifier immediately conveys a significant and strong structural relationship with outer or containing class. While abstract has a qualification on class i.e. the type of class and appearing directly before class is more natural (to me !!). As such, abstract qualifies the static relationship.
> The placement and ordering of the modifier should be to assist in covering semantics when scanning code, and conveys a certain level of "importance" of the qualifier's semantics
WRT `static abstract` vs `abstract static` I had exactly the
same feeling - but since there is a blessed ordering and a
script to fix classes to conform to the blessed
ordering I'm not going to fight it.
best regards,
-- daniel
More information about the net-dev
mailing list