Commit graph

15 commits

Author SHA1 Message Date
Andreas Schildbach
070fcad64a Migrate multi-module project to single project. 2019-07-19 19:16:55 +02:00
Andreas Schildbach
39e6895af9 Add many missing queryDeparturesInvalidStation() tests. 2018-12-17 13:02:41 +01:00
Andreas Schildbach
e6474db222 Point: Store coordinate as pair of double, rather than 1E6 ints.
This makes the lat/lon member variables private and adds 1E6 variants for getters and the static constructor.
Also, Location now stores a Point for its coordinate, rather than 1E6 ints. The 1E6-based constructors have been removed.
2018-11-16 01:41:14 +01:00
Andreas Schildbach
0831d0f8e6 AbstractProviderLiveTest: Use TripOptions in queryTrips() and simplify live tests by passing null to use defaults where appropriate. 2018-11-05 19:57:59 +01:00
Andreas Schildbach
b2875ddd31 Update links in license to use HTTPS. 2018-07-15 16:47:49 +02:00
Andreas Schildbach
bf510b516d If possible, use generic type inference for constructing objects. 2017-01-28 14:59:03 +01:00
Andreas Schildbach
4c64746e75 Switch to Java 7.
Notes regarding Android compatibility:
- The 'try-with-resources' language feature needs API level 19, so don't use it.
  All other language features can be used back to API level 8.
- The JDK 1.7 API still isn't fully implemented, so better stick with 1.6 for now.
2016-09-25 19:53:31 +02:00
Andreas Schildbach
931dafb628 Switch to modern code format. Organize imports. No functional changes.
Java sources use Eclipse 4.5 'Java Conventions' with indentation changed to 4 spaces only per level.
2016-09-08 18:26:01 +02:00
Michael Dyrna
8a5341438f VRS: Quickly handle API error 'Keine Abfahrten gefunden.'. The full solution would be to restructure the code in a way that allows to return at least the List<LineDestination> part. 2015-04-10 08:50:58 +02:00
Michael Dyrna
154085da1d VRS: New platform parsing rule for Aachen. Parse position also in 'via stops'. 2015-04-01 17:42:22 +02:00
Michael Dyrna
bff85253d1 VRS: Parse NRW-Tarif. 2015-04-01 17:39:59 +02:00
Michael Dyrna
72d0e5dd4a VRS: Additional parsing rule for platform information. 2015-04-01 17:32:56 +02:00
Andreas Schildbach
4b65f0145c Introduce location type for plain coordinates. 2015-04-01 17:27:59 +02:00
Michael Dyrna
e71f33ff14 VRS: Fix NumberFormatException on empty polygon in queryTrips. 2015-03-18 15:28:29 +01:00
Michael Dyrna
5ecf57bed9 Cologne & Bonn. 2015-03-17 11:19:13 +01:00