Modify

Opened 14 years ago

Closed 14 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)

fix-cwa-warning.patch (937 bytes ) - added by hansendc 14 years ago.

Download all attachments as: .zip

Change History (2)

by hansendc, 14 years ago

Attachment: fix-cwa-warning.patch added

comment:1 by Gubaer, 14 years ago

Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.