Opened 3 weeks ago
Last modified 2 weeks ago
#25032 new task
[patch] Fix Sonar issues in Lifecycle
| Reported by: | Owned by: | team | |
|---|---|---|---|
| Priority: | normal | Milestone: | 26.12 |
| 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 (2)
by , 3 weeks ago
| Attachment: | #25032-Fix-Sonar-issues-in-Lifecycle.patch added |
|---|
comment:1 by , 2 weeks ago
| Milestone: | → 26.12 |
|---|


