LoboCommon/src/main/java/org/loboevolution/html/Entities.java
File Entities.java
has 281 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
* MIT License
*
* Copyright (c) 2014 - 2024 LoboEvolution
*
Rename this constant name to match the regular expression '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. Open
Open
INT_("int"),
- Read upRead up
- Exclude checks
Shared coding conventions allow teams to collaborate efficiently. This rule checks that all constant names match a provided regular expression.
Noncompliant Code Example
With the default regular expression ^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$
:
public class MyClass { public static final int first = 1; } public enum MyEnum { first; }
Compliant Solution
public class MyClass { public static final int FIRST = 1; } public enum MyEnum { FIRST; }