Opened 3 hours ago
#24976 new task
[patch] Fix Sonar issues in DownloadFileTask
| Reported by: | Owned by: | team | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | Cc: |
Description
The URL constructor in DownloadFileTask, previously marked as deprecated, has been updated, and the exception handling has been adjusted. Furthermore, an integer overflow (in the count variable) has been eliminated, and a safeguard against division by zero has been added. Finally, curly braces have been restored to control structures, and fields and variables have been declared as final.
see:https://josm.openstreetmap.de/sonar/project/issues?files=src%2Forg%2Fopenstreetmap%2Fjosm%2Fgui%2Fio%2FDownloadFileTask.java&issueStatuses=CONFIRMED%2COPEN&open=8a1eb504-ebdd-4c02-9ea6-7ee6f7d5a6c9&id=josm
Attachments (1)
Change History (1)
by , 3 hours ago
| Attachment: | patch-Fix-Sonar-issues-in-DownloadFileTask.patch added |
|---|


