[style](fe)the last step of fe CheckStyle (#10134)
1. fix all checkstyle warning
2. change all checkstyle rules to error
3. remove some java doc rules
a. RequireEmptyLineBeforeBlockTagGroup
b. JavadocStyle
c. JavadocParagraph
4. suppress some rules for old codes
a. all java doc rules only affect on Nereids
b. DeclarationOrder only affect on Nereids
c. OverloadMethodsDeclarationOrder only affect on Nereids
d. VariableDeclarationUsageDistance only affect on Nereids
e. suppress OneTopLevelClass on org/apache/doris/load/loadv2/dpp/ColumnParser.java
f. suppress OneTopLevelClass on org/apache/doris/load/loadv2/dpp/SparkRDDAggregator.java
g. suppress LineLength on org/apache/doris/catalog/FunctionSet.java
h. suppress LineLength on org/apache/doris/common/ErrorCode.java
This commit is contained in:
@ -42,6 +42,13 @@ standard java package
|
||||
* Do not use `import *`
|
||||
* Do not use `import static`
|
||||
|
||||
## Check when compile
|
||||
|
||||
Now, when compiling with `caven`, `CheckStyle` checks are done by default. This will slightly slow down compilation. If you want to skip checkstyle, please use the following command to compile
|
||||
```
|
||||
mvn clean install -DskipTests -Dcheckstyle.skip
|
||||
```
|
||||
|
||||
## Checkstyle Plugin
|
||||
|
||||
Now we have `formatter-check` in `CI` to check the code format.
|
||||
|
||||
Reference in New Issue
Block a user