[Enhancement] if block ends with a return statement, so drop this else and outdent its block
- Dominant language
- Java
- Stars
- 1.8k
- Forks
- 658
- Avg merge
- 11h 29m
- Merged PRs (30d)
- 52
Description
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no similar issues.
### Enhancement Request
This issue is a subproject issue of eventmesh. the subproject address is:
https://github.com/apache/eventmesh-workflow

located at:
eventmesh-wrokflow/third_party/lexer/rune_stack.go line 44
### Describe the solution you'd like

### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
Contributor guide
Research direction
Open eventmesh-workflow/third_party/lexer/rune_stack.go at line 44 and inspect the surrounding if/else and return statement. Apply the control-flow cleanup shown in the issue screenshots, then verify the subproject still passes its existing checks for the lexer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- compilers
- Issue type
- Refactor
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100