Opened 15 years ago
Closed 15 years ago
#3820 closed defect (fixed)
[PATCH] fix CombineWayAction warning
Reported by: | hansendc | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | Cc: |
Description
[javac] src/org/openstreetmap/josm/actions/CombineWayAction.java:585: warning: [unchecked] unchecked conversion
[javac] found : java.util.List
[javac] required: java.util.List<org.openstreetmap.josm.actions.CombineWayAction.NodePair>
[javac] return l == null ? Collections.EMPTY_LIST : l;
[javac]
Collections.EMPTY_LIST is an collection of Object. Use the generics version to avoid a warning.
Attachments (1)
Change History (2)
by , 15 years ago
Attachment: | fix-cwa-warning.patch added |
---|
comment:1 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [2356]) applied #3820: patch by hansendc: fix CombineWayAction warning