Modify ↓
Opened 11 minutes ago
#25032 new task
[patch] Fix Sonar issues in Lifecycle
| Reported by: | Owned by: | team | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | Cc: |
Description
I have moved service.shutdown() into a finally block to prevent thread leaks in the event of exceptions and to comply with SonarQube rule java:S2095. Additionally, control structures have been updated to include curly braces, and fields and variables have been declared as final.
see: https://josm.openstreetmap.de/sonar/project/issues?s=TYPE_SEVERITY&issueStatuses=OPEN%2CCONFIRMED&id=josm&open=d1bd5ebc-f3da-41be-884b-4d8da218041e
Attachments (1)
Change History (1)
by , 10 minutes ago
| Attachment: | #25032-Fix-Sonar-issues-in-Lifecycle.patch added |
|---|
Note:
See TracTickets
for help on using tickets.


