Sonar建议Reorder the modifiers to comply with the Java Language Specification

mac2024-07-13  53

Reorder the modifiers to comply with the Java Language Specification

调整修饰符次序,反例:private final static String DD = "测试";

改成private static final String DD = "测试";

以下是修饰符的顺序:

Annotationspublicprotectedprivateabstractstaticfinaltransientvolatilesynchronizednativestrictfp
最新回复(0)