refactor: Fix some code smells #26

Merged
jank merged 6 commits from refactor/fix-smells into main 2024-10-02 07:48:33 +00:00
Owner
No description provided.
Owner

Quality Gate:

Metric Current
Bugs 0
Code Smells 0
Vulnerabilities 0

See SonarQube for details.


  • If you want the bot to check again, post /sq-bot review
**Quality Gate**: :white_check_mark: | Metric | Current | | -------- | -------- | | Bugs | 0 | | Code Smells | 0 | | Vulnerabilities | 0 | See <a href="https://sonarqube.kjan.de/dashboard?id=LF8&pullRequest=26" target="_blank" rel="nofollow">SonarQube</a> for details. --- - If you want the bot to check again, post `/sq-bot review`
jank added 1 commit 2024-10-02 07:09:34 +00:00
refactor: change response entity type in exception handler
All checks were successful
Quality Check / Tests (pull_request) Successful in 1m0s
Quality Check / Checkstyle Main (pull_request) Successful in 46s
gitea-sonarqube-bot OK
Build PR / Build and analyze (pull_request) Successful in 1m54s
61d72684c9
Owner

Quality Gate:

Metric Current
Vulnerabilities 0
Bugs 0
Code Smells 0

See SonarQube for details.


  • If you want the bot to check again, post /sq-bot review
**Quality Gate**: :white_check_mark: | Metric | Current | | -------- | -------- | | Vulnerabilities | 0 | | Bugs | 0 | | Code Smells | 0 | See <a href="https://sonarqube.kjan.de/dashboard?id=LF8&pullRequest=26" target="_blank" rel="nofollow">SonarQube</a> for details. --- - If you want the bot to check again, post `/sq-bot review`
jank added 1 commit 2024-10-02 07:30:28 +00:00
refactor(security): replace string literal with constant key
All checks were successful
Quality Check / Tests (pull_request) Successful in 1m1s
Quality Check / Checkstyle Main (pull_request) Successful in 44s
Build PR / Build and analyze (pull_request) Successful in 1m54s
gitea-sonarqube-bot OK
8e7b0770de
jank changed title from WIP: refactor: Fix code smells to WIP: refactor: Fix some code smells 2024-10-02 07:30:47 +00:00
Owner

Quality Gate:

Metric Current
Bugs 0
Code Smells 0
Vulnerabilities 0

See SonarQube for details.


  • If you want the bot to check again, post /sq-bot review
**Quality Gate**: :white_check_mark: | Metric | Current | | -------- | -------- | | Bugs | 0 | | Code Smells | 0 | | Vulnerabilities | 0 | See <a href="https://sonarqube.kjan.de/dashboard?id=LF8&pullRequest=26" target="_blank" rel="nofollow">SonarQube</a> for details. --- - If you want the bot to check again, post `/sq-bot review`
jank added 2 commits 2024-10-02 07:35:19 +00:00
refactor(welcome): update getRoles method signature
Some checks failed
Quality Check / Tests (pull_request) Successful in 1m0s
Quality Check / Checkstyle Main (pull_request) Successful in 45s
Build PR / Build and analyze (pull_request) Successful in 1m54s
gitea-sonarqube-bot ERROR
9824fbbbfd
Owner

Quality Gate:

Metric Current
Code Smells 1
Bugs 0
Vulnerabilities 0

See SonarQube for details.


  • If you want the bot to check again, post /sq-bot review
**Quality Gate**: :x: | Metric | Current | | -------- | -------- | | Code Smells | 1 | | Bugs | 0 | | Vulnerabilities | 0 | See <a href="https://sonarqube.kjan.de/dashboard?id=LF8&pullRequest=26" target="_blank" rel="nofollow">SonarQube</a> for details. --- - If you want the bot to check again, post `/sq-bot review`
jank added 1 commit 2024-10-02 07:39:52 +00:00
refactor(welcome): remove generic type from getRoles method
Some checks failed
Quality Check / Tests (pull_request) Successful in 1m0s
Quality Check / Checkstyle Main (pull_request) Successful in 46s
gitea-sonarqube-bot ERROR
Build PR / Build and analyze (pull_request) Successful in 1m53s
e5d0bcb84e
Owner

Quality Gate:

Metric Current
Vulnerabilities 0
Code Smells 3
Bugs 0

See SonarQube for details.


  • If you want the bot to check again, post /sq-bot review
**Quality Gate**: :x: | Metric | Current | | -------- | -------- | | Vulnerabilities | 0 | | Code Smells | 3 | | Bugs | 0 | See <a href="https://sonarqube.kjan.de/dashboard?id=LF8&pullRequest=26" target="_blank" rel="nofollow">SonarQube</a> for details. --- - If you want the bot to check again, post `/sq-bot review`
jank added 1 commit 2024-10-02 07:45:14 +00:00
style: Remove unnecessary blank lines and improve type safety
All checks were successful
Quality Check / Tests (pull_request) Successful in 59s
Quality Check / Checkstyle Main (pull_request) Successful in 46s
gitea-sonarqube-bot OK
Build PR / Build and analyze (pull_request) Successful in 1m55s
54a76de08c
Owner

Quality Gate:

Metric Current
Bugs 0
Vulnerabilities 0
Code Smells 0

See SonarQube for details.


  • If you want the bot to check again, post /sq-bot review
**Quality Gate**: :white_check_mark: | Metric | Current | | -------- | -------- | | Bugs | 0 | | Vulnerabilities | 0 | | Code Smells | 0 | See <a href="https://sonarqube.kjan.de/dashboard?id=LF8&pullRequest=26" target="_blank" rel="nofollow">SonarQube</a> for details. --- - If you want the bot to check again, post `/sq-bot review`
jank changed title from WIP: refactor: Fix some code smells to refactor: Fix some code smells 2024-10-02 07:47:43 +00:00
ptran approved these changes 2024-10-02 07:48:21 +00:00
ptran left a comment
Collaborator

LGTM!

LGTM!
jank merged commit a04a180712 into main 2024-10-02 07:48:33 +00:00
jank deleted branch refactor/fix-smells 2024-10-02 07:48:33 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: jank/LF8#26
No description provided.