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

6 Commits

Author SHA1 Message Date
54a76de08c
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
2024-10-02 09:45:08 +02:00
e5d0bcb84e
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
2024-10-02 09:39:42 +02:00
9824fbbbfd
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
2024-10-02 09:35:12 +02:00
993387fa0c
fix(security): update roles claim for granted authorities 2024-10-02 09:34:26 +02:00
8e7b0770de
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
2024-10-02 09:30:18 +02:00
61d72684c9
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
2024-10-02 09:09:26 +02:00