Commit graph

2020 commits

Author SHA1 Message Date
Andreas Schildbach
0ce2677615 Product.fromCode() exception message cosmetics. 2015-02-09 10:16:17 +01:00
Andreas Schildbach
8ce3279390 Forgotten: Change return type of NetworkProvider.defaultProducts() from Collection to Set. 2015-02-09 10:13:15 +01:00
Andreas Schildbach
84dbc788ab Clear warnings about unused variables and methods. 2015-02-06 11:07:41 +01:00
Andreas Schildbach
0210b4b219 EFA: Fix coordinates in <itdCoordinateBaseElemList> parsed too big by factor 1E6. 2015-02-05 23:44:44 +01:00
Andreas Schildbach
bb5314f7ec EFA: Fix parsing of unset planned/predicted times in mobile trips query. 2015-02-05 23:44:34 +01:00
Andreas Schildbach
fd3a932957 EFA: Fix parsing of empty <nu> in mobile trips query. 2015-02-05 23:44:34 +01:00
Andreas Schildbach
b96238c817 Use <itdCoordinateString> coordinates for Dresden. 2015-02-05 23:41:09 +01:00
Andreas Schildbach
2ab38329c5 Migrate Kiel, Lübeck & Schleswig-Holstein to use XML station board for querying departures. 2015-02-05 17:16:43 +01:00
Andreas Schildbach
b031cfd2a8 Use mobile trip endpoint for Baden-Württemberg, Constance & Basel. The standard endpoint doesn't serve intermediate stops. 2015-02-05 16:42:27 +01:00
Andreas Schildbach
98fa450220 Update API base for Bremen, Bremerhaven & Osnabrück. 2015-02-05 16:42:27 +01:00
Andreas Schildbach
dc6af36e12 Fix old departures for Bremen, Bremerhaven & Osnabrück. Same for Rostock. 2015-02-05 16:42:27 +01:00
Andreas Schildbach
fd1be51c98 Update API base for Vienna, Lower Austria & Burgenland. 2015-02-05 16:42:27 +01:00
Andreas Schildbach
377f628183 Fix lines and styles for Sydney. 2015-02-05 16:41:31 +01:00
Andreas Schildbach
4c8f48931c Clear 'potential null pointer access' warnings. 2015-02-05 16:28:59 +01:00
Andreas Schildbach
5f8fc199a4 Change return type of Trip.products() from List to Set. 2015-02-04 17:47:39 +01:00
Andreas Schildbach
24e921e547 Method for public duration of a trip can return null. 2015-02-04 17:36:23 +01:00
Antonio El Khoury
76458296a0 Improve queryMoreTrips test for Paris. 2015-02-02 11:00:08 +01:00
Antonio El Khoury
8dce62c1ab Navitia: Fix query context builder. 2015-02-02 10:58:14 +01:00
Andreas Schildbach
e86fdede13 Implement methods for duration of a trip. 2015-02-02 10:53:42 +01:00
Andreas Schildbach
d00e107fdf Implement Trip.isTravelable(). 2015-02-02 10:53:04 +01:00
Andreas Schildbach
0a571554c5 Change NetworkProvider.queryTrips() signature to accept a Set of products rather than a Collection. 2015-02-02 10:49:32 +01:00
Andreas Schildbach
5efdafc05e Change return type of NetworkProvider.defaultProducts() from Collection to Set. 2015-02-02 10:49:29 +01:00
Andreas Schildbach
8df79805d0 Rename .queryNearbyStations() to .queryNearbyLocations() and make it find POIs too. 2015-02-02 10:41:12 +01:00
Andreas Schildbach
25c2eb6176 Refactor XmlPullParser.getAttributeValue() to use XmlPullUtil.attr() variants. 2015-02-01 23:02:09 +01:00
Antonio El Khoury
574dd9c9a8 Navitia: Use numTripsRequested for trip count attribute. 2015-02-01 22:52:50 +01:00
Andreas Schildbach
c1691a7e71 Fix and add tests for Berlin & Brandenburg.
Conflicts:
	enabler/test/de/schildbach/pte/live/BvgProviderLiveTest.java
	enabler/test/de/schildbach/pte/live/VbbProviderLiveTest.java
2015-02-01 17:24:21 +01:00
Antonio El Khoury
696498cbca Update tests for Paris. 2015-02-01 17:16:21 +01:00
Antonio El Khoury
335651ce5c Navitia: Do not add leg if its duration is 0. 2015-02-01 17:15:50 +01:00
Andreas Schildbach
4fe662d021 Hafas: Remove superfluous invocation of setStationBoardHasStationTable(). 2015-01-29 12:49:08 +01:00
Andreas Schildbach
806100c868 Guava: Use Charsets constants. 2015-01-29 00:33:39 +01:00
Andreas Schildbach
353e5815c7 Guava: Use MoreObjects.ToStringHelper to implement .toString(). 2015-01-29 00:33:38 +01:00
Andreas Schildbach
797448ef0e Guava: Use Objects.hashCode() to implement .hashCode(). 2015-01-29 00:32:08 +01:00
Andreas Schildbach
27d55413cb Guava: Use Objects.equal() to implement .equals(). 2015-01-29 00:32:08 +01:00
Andreas Schildbach
113d5bb5ff Guava: Add to build path. 2015-01-29 00:32:08 +01:00
Andreas Schildbach
891c0b64fd Hafas: Extract methods nearbyStationsByCoordinate() and nearbyStationsById(). 2015-01-28 23:57:51 +01:00
Andreas Schildbach
7ff06cc2d4 Hafas: More improvements to splitting place and name, mostly for POIs. 2015-01-28 23:57:30 +01:00
Andreas Schildbach
589cf69063 Fix rounding errors when parsing coordinates. Add location constructors that take a Point rather than lat and lon. 2015-01-28 23:52:50 +01:00
Andreas Schildbach
3c5dc7c328 Introduce AbstractNetworkProvider.parsePosition() for custom parsable positions. 2015-01-27 14:44:54 +01:00
Andreas Schildbach
e386dac23e EFA: Fix network attribute parsing in <itdServingLine>. 2015-01-27 14:42:21 +01:00
Andreas Schildbach
0b42b39fd7 EFA: Check for empty document. 2015-01-27 14:37:47 +01:00
Andreas Schildbach
70c1037bc4 EFA: Set language in all requests. 2015-01-27 14:35:18 +01:00
Andreas Schildbach
864783fed0 EFA: Fix exception when JSON stopfinder doesn't find anything. 2015-01-27 14:32:52 +01:00
Andreas Schildbach
5fc143196e EFA: <paramList> in <infoLink> is now optional. 2015-01-27 14:31:01 +01:00
Andreas Schildbach
bb03f45f53 EFA: Fix parsing of itdOdv and handling of location IDs. 2015-01-27 14:21:36 +01:00
Andreas Schildbach
64df076576 Remove obsolete ParserUtils.selectNotNull(). 2015-01-25 10:26:21 +01:00
Andreas Schildbach
a5f59319aa Lines. 2015-01-25 10:21:15 +01:00
Andreas Schildbach
20d63e21c4 Add another magic string for internal server errors. 2015-01-25 10:14:09 +01:00
Andreas Schildbach
9e0ecf1251 A bit of exception message cosmetics. 2015-01-25 10:14:09 +01:00
Andreas Schildbach
96c449ccc8 Minimum and maximum times occuring in trips, legs and stops. 2015-01-25 10:14:09 +01:00
Andreas Schildbach
8c1ba6eabb Don't keep separate copy of coarse departure and arrival times in Legs. 2015-01-25 10:14:09 +01:00