Modify ↓

Opened 25 hours ago

Last modified 24 hours ago

#25040 new task

[patch] Fix Sonar issues in Lifecycle

Reported by: DanProgs <Abenteurer.2901@…> Owned by: team
Priority: normal Milestone: 26.12
Component: Core Version:
Keywords: Cc:

Description

I moved service.shutdown() into a finally block within initialize() to ensure that resources are cleaned up even if exceptions occur during task execution. Furthermore, I added curly braces back to 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&open=d1bd5ebc-f3da-41be-884b-4d8da218041e&id=josm

Attachments (1)

#25040-Fix-Sonar-issues-in-Lifecycle.patch​ (2.6 KB ) - added by DanProgs <Abenteurer.2901@…> 25 hours ago.

Download all attachments as: .zip

Change History (2)

by DanProgs <Abenteurer.2901@…>, 25 hours ago

comment:1 by stoecker, 24 hours ago

Milestone: → 26.12

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to DanProgs <Abenteurer.2901@…>.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.