Commit graph

1587 commits

Author SHA1 Message Date
Andreas Schildbach
f48c0ef60e Hafas: If there are predicted times for individual legs, use them. 2015-03-02 11:20:46 +01:00
Andreas Schildbach
b8678a3fae Testcases for BVG masts. 2015-03-02 11:10:15 +01:00
Antonio El Khoury
82e367a08b Navitia: Fix location type handling in queryNearbyLocations. 2015-03-01 15:40:18 +01:00
Antonio El Khoury
026b1fb111 Robustify tests for Paris. 2015-03-01 10:35:22 +01:00
Antonio El Khoury
3e92246ff8 Navitia: Fix queryDepartures() for stop_area when equivs is set to true. 2015-02-25 10:38:51 +01:00
Andreas Schildbach
0267c655bf Fix crash when parsing huge integers in positions. 2015-02-25 09:12:10 +01:00
Andreas Schildbach
322e7cf8cb Include network ID in result header. 2015-02-25 09:09:37 +01:00
Andreas Schildbach
cf651676d2 Migrate network IDs to constant field. 2015-02-25 09:05:01 +01:00
Andreas Schildbach
695fc56d8e Liverpool. 2015-02-17 17:52:28 +01:00
Andreas Schildbach
5b3ceed733 Apply @Nullable annotation to NetworkProvider methods and DTOs. 2015-02-17 17:52:28 +01:00
Andreas Schildbach
883015177e Migrate from using char as a product type to Product enum. Line labels are really just the label and can be null. 2015-02-10 13:56:21 +01:00
Andreas Schildbach
7cb4e8fb06 Apply preconditions on DTOs. 2015-02-10 13:46:38 +01:00
Andreas Schildbach
cd5841cf0f Add debug code to AbstractProviderLiveTest. 2015-02-10 13:43:42 +01:00
Andreas Schildbach
3ade966329 EFA: Fix parsing of <itdTrain />. 2015-02-10 13:43:42 +01:00
Andreas Schildbach
6d30efd3de Fix suggest locations coverage for Stuttgart. 2015-02-10 13:39:59 +01:00
Andreas Schildbach
a721f9285a Fix premature session expiry for Karlsruhe. 2015-02-10 13:36:55 +01:00
Andreas Schildbach
4a8a17f1fe Lines. 2015-02-10 13:34:55 +01:00
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