<i18n dev> RFR: 8263658: Use the blessed modifier order in java.base

Claes Redestad redestad at openjdk.java.net
Thu Mar 18 14:53:45 UTC 2021


On Sat, 13 Mar 2021 22:45:30 GMT, Alex Blewitt <github.com+76791+alblue at openjdk.org> wrote:

> Sonar displays a warning message that modifiers should be declared in the order listed in the JLS; specifically, that isntead of using `final static` the `static final` should be preferred.
> 
> This fixes the issues in the `java.base` package for ease of reviewing.
> 
> https://sonarcloud.io/project/issues?id=shipilev_jdk&languages=java&resolved=false&rules=java%3AS1124

Marked as reviewed by redestad (Reviewer).

src/java.base/share/classes/com/sun/security/ntlm/NTLMException.java line 52:

> 50:      * from server.
> 51:      */
> 52:     //public static final int DOMAIN_UNMATCH = 3;

Maybe this one ought to be removed instead?

-------------

PR: https://git.openjdk.java.net/jdk/pull/2993


More information about the i18n-dev mailing list