Skip to content

Commit

Permalink
Merge pull request #1724 from hannesj/stopCodeInResponse
Browse files Browse the repository at this point in the history
Add stop code in index API response
  • Loading branch information
abyrd committed Feb 3, 2015
2 parents 53b64d8 + a3b6c85 commit 80a83f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/org/opentripplanner/index/model/StopShort.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
public class StopShort {

public AgencyAndId id;
public String code;
public String name;
public double lat;
public double lon;
Expand All @@ -23,6 +24,7 @@ public class StopShort {

public StopShort (Stop stop) {
id = stop.getId();
code = stop.getCode();
name = stop.getName();
lat = stop.getLat();
lon = stop.getLon();
Expand Down

0 comments on commit 80a83f0

Please sign in to comment.