From a249563b27e8c16180ef2a00e1456b1f31c39a1c Mon Sep 17 00:00:00 2001 From: Doug Keen Date: Mon, 11 Jul 2011 12:18:59 -0700 Subject: [PATCH] Stations list fixed on add screen --- src/com/dougkeen/bart/Station.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/com/dougkeen/bart/Station.java b/src/com/dougkeen/bart/Station.java index b15ca5a..3603f6f 100644 --- a/src/com/dougkeen/bart/Station.java +++ b/src/com/dougkeen/bart/Station.java @@ -168,6 +168,16 @@ public enum Station { return returnList; } + static public List getStationList() { + List list = new ArrayList(); + for (Station station : values()) { + if (!station.equals(Station.SPCL)) { + list.add(station); + } + } + return list; + } + public String toString() { return name; }