Opened 24 minutes ago
#25027 new task
[Patch] Fix for Sonar issues: False-positive report (java:S2259) in TagChecker
| Reported by: | Owned by: | team | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | Cc: |
Description
Utils.isEmpty(harmonizedValue) has been replaced by an explicit check for null and emptiness, allowing static code analysis to verify that harmonizedValue is not null. Furthermore, 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=CONFIRMED%2COPEN&types=BUG&id=josm&open=AXvWAEXUyP4JTgY8QMT7
See: https://josm.openstreetmap.de/sonar/project/issues?s=TYPE_SEVERITY&issueStatuses=CONFIRMED%2COPEN&types=BUG&id=josm&open=AXvWAEXUyP4JTgY8QMT8
Attachments (1)
Change History (1)
by , 23 minutes ago
| Attachment: | #25027-Fix-Sonar-issues-in-TagChecker.patch added |
|---|


