X-Git-Url: https://gitweb.fperrin.net/?p=GpsPrune.git;a=blobdiff_plain;f=tim%2Fprune%2Fgui%2FWaypointNameMatcher.java;h=83a10bb7cd864e38198a126d86be30c7a40597a1;hp=db0f827947475e692586c1f9ca01053f7ddff389;hb=326f489e36aa7f235bc19409a57bf4955cd50f24;hpb=8c8868ae29b3252f02e094c02307384cf61ba667 diff --git a/tim/prune/gui/WaypointNameMatcher.java b/tim/prune/gui/WaypointNameMatcher.java index db0f827..83a10bb 100644 --- a/tim/prune/gui/WaypointNameMatcher.java +++ b/tim/prune/gui/WaypointNameMatcher.java @@ -10,7 +10,7 @@ import tim.prune.data.Track; * Class to deal with the matching of waypoint names * and the representation in a list */ -public class WaypointNameMatcher extends AbstractListModel +public class WaypointNameMatcher extends AbstractListModel { private ArrayList _waypoints = null; private int _numPoints = 0; @@ -73,7 +73,7 @@ public class WaypointNameMatcher extends AbstractListModel /** * @see javax.swing.ListModel#getElementAt(int) */ - public Object getElementAt(int inIndex) + public String getElementAt(int inIndex) { return _matches.get(inIndex).getWaypointName(); }