Sonar建议Reorder the modifiers to comply with the Java Language Specification
Sonar提示Reorder the modifiers to comply with the Java Language Specification
是建议我们重新排序修饰符以符合Java语言规范
反例:private final static String DD = "测试";
改成:private static final String DD = "测试";
以下是修饰符的顺序:
Annotations
public
protected
private
abstract
static
final
t
转载
2020-07-14 11:24:14 ·
2169 阅读 ·
0 评论