Skip to content

Conversation

@morrySnow
Copy link
Contributor

change below rules' severity to error and fix original code error:

  • EmptyBlock
  • EmptyCatchBlock
  • LeftCurly
  • RightCurly
  • IllegalTokenText
  • MultipleVariableDeclarations
  • OneStatementPerLine
  • StringLiteralEquality
  • UnusedLocalVariable
  • Indentation
  • OuterTypeFilename
  • MethodParamPad
  • GenericWhitespace
  • NoWhitespaceBefore
  • OperatorWrap
  • ParenPad
  • WhitespaceAfter
  • WhitespaceAround

Proposed changes

Issue Number: close #9405

Checklist(Required)

  1. Does it affect the original behavior: No
  2. Has unit tests been added: No Need
  3. Has document been added or modified: No Need
  4. Does it need to update dependencies: No
  5. Are there any changes that cannot be rolled back: No

change below rules' severity to error and fix original code error:

- EmptyBlock
- EmptyCatchBlock
- LeftCurly
- RightCurly
- IllegalTokenText
- MultipleVariableDeclarations
- OneStatementPerLine
- StringLiteralEquality
- UnusedLocalVariable
- Indentation
- OuterTypeFilename
- MethodParamPad
- GenericWhitespace
- NoWhitespaceBefore
- OperatorWrap
- ParenPad
- WhitespaceAfter
- WhitespaceAround
@morrySnow morrySnow requested a review from morningman May 25, 2022 06:12
@github-actions github-actions bot added area/load Issues or PRs related to all kinds of load area/planner Issues or PRs related to the query planner area/routine load area/spark-load Issues or PRs related to the spark load area/sql/function Issues or PRs related to the SQL functions labels May 25, 2022
@morrySnow
Copy link
Contributor Author

just like step 1 #9460 , all fe check style error is not related to the rules this patch care about

@morrySnow morrySnow added kind/refactor Issues or PRs to refactor code and removed area/load Issues or PRs related to all kinds of load area/planner Issues or PRs related to the query planner area/sql/function Issues or PRs related to the SQL functions area/spark-load Issues or PRs related to the spark load area/routine load labels May 25, 2022
@github-actions github-actions bot added area/load Issues or PRs related to all kinds of load area/planner Issues or PRs related to the query planner area/routine load area/spark-load Issues or PRs related to the spark load area/sql/function Issues or PRs related to the SQL functions labels May 25, 2022
@morrySnow morrySnow removed area/load Issues or PRs related to all kinds of load area/planner Issues or PRs related to the query planner area/sql/function Issues or PRs related to the SQL functions area/spark-load Issues or PRs related to the spark load area/routine load labels May 25, 2022
@github-actions github-actions bot added area/load Issues or PRs related to all kinds of load area/planner Issues or PRs related to the query planner labels May 26, 2022
@github-actions github-actions bot added area/routine load area/spark-load Issues or PRs related to the spark load area/sql/function Issues or PRs related to the SQL functions labels May 26, 2022
@morrySnow morrySnow removed area/load Issues or PRs related to all kinds of load area/planner Issues or PRs related to the query planner area/sql/function Issues or PRs related to the SQL functions area/spark-load Issues or PRs related to the spark load area/routine load labels May 26, 2022
Copy link
Contributor

@morningman morningman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

}

public boolean isUnNullSafeEquivalence() { return this == EQ; };
;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions github-actions bot added approved Indicates a PR has been approved by one committer. reviewed labels May 26, 2022
@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

@morningman
Copy link
Contributor

I will merge this PR quickly to avoid further conflicts with other PRs.

@morningman morningman merged commit e701c05 into apache:master May 26, 2022
@morningman morningman added the dev/backlog waiting to be merged in future dev branch label May 26, 2022
@morrySnow morrySnow deleted the checkstyle_step3 branch May 26, 2022 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. dev/backlog waiting to be merged in future dev branch kind/refactor Issues or PRs to refactor code reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Enhancement] [FE Code Style] step3: turn on more whitespace, pad and wrap check

2 participants