Opened 25 hours ago
Last modified 25 hours ago
#25041 new task
[patch] Fix Sonar issues in MainApplication
| Reported by: | Owned by: | team | |
|---|---|---|---|
| Priority: | normal | Milestone: | 26.12 |
| Component: | Core | Version: | |
| Keywords: | Cc: |
Description
I moved the shutdown of the single-thread ExecutorService into a finally block to prevent an unused thread from remaining active. Additionally, I ensured that execution terminates prematurely if an InterruptedException occurs. Finally, I added curly braces back to the control structures and declared fields and variables as final.
see: https://josm.openstreetmap.de/sonar/project/issues?s=TYPE_SEVERITY&severities=BLOCKER&issueStatuses=CONFIRMED%2COPEN&types=BUG&id=josm&open=2568b3f9-2040-40d3-98b4-6a5fcc7a37f9
Attachments (1)
Change History (2)
by , 25 hours ago
| Attachment: | #25041-Fix-Sonar-issues-in-MainApplication.patch added |
|---|
comment:1 by , 25 hours ago
| Milestone: | → 26.12 |
|---|


