Modify ↓
Opened 4 years ago
Closed 4 years ago
#3820 closed defect (fixed)
[PATCH] fix CombineWayAction warning
| Reported by: | hansendc | Owned by: | team |
|---|---|---|---|
| Priority: | normal | 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)
Changed 4 years ago by hansendc
comment:1 Changed 4 years ago by Gubaer
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.



(In [2356]) applied #3820: patch by hansendc: fix CombineWayAction warning