Opened 6 years ago
Closed 6 years ago
#17584 closed enhancement (fixed)
[PATCH] pt_assistant shouldn't use deprecated methods
Reported by: | taylor.smock | Owned by: | Biswesh |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin pt_assistant | Version: | |
Keywords: | Cc: |
Description
In the patch, I've converted OsmPrimtive.getFilteredList to Utils.filteredCollection with the appropriate constructors.
I also modified some methods to be static, since that reduced the Problem spam in Eclipse, and I figure that it is always better to mark a method as static than always have to use dynamically.
Attachments (2)
Change History (6)
by , 6 years ago
Attachment: | 17584.patch added |
---|
comment:1 by , 6 years ago
comment:2 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 6 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
It looks like I missed one in src/main/java/org/openstreetmap/josm/plugins/pt_assistant/utils/StopUtils.java
.
I've uploaded the very minimal patch as 17584_remainder.patch
.
by , 6 years ago
Attachment: | 17584_remainder.patch added |
---|
Replace OsmPrimitive.getFilteredList with Utils.filteredCollection
comment:4 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Replace deprecated functions and mark some methods as static