Modify ↓
Opened 32 minutes ago
#25033 new task
[patch] Fix Sonar issues in AutoCompletionItem
| Reported by: | Owned by: | team | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | Cc: |
Description
In equals(), I replaced instanceof with getClass() and used java.util.Objects.equals() for better readability and null safety. 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&issueStatuses=OPEN%2CCONFIRMED&id=josm&open=AXt19rWYyP4JTgY8IS2q
Attachments (1)
Change History (1)
by , 30 minutes ago
| Attachment: | #25033-Fix-Sonar-issues-in-AutoCompletionItem.patch added |
|---|
Note:
See TracTickets
for help on using tickets.


