Commit graph

45 commits

Author SHA1 Message Date
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
Andreas Schildbach
0c0e1ad8a7 VBB: Don't send clientType. 2016-08-30 08:55:39 +02:00
Andreas Schildbach
8b93e6135a Hafas: Set up default API endpoints in the constructor. 2015-09-13 16:08:00 +02:00
Andreas Schildbach
10d04bcb39 Hafas: Use setters for non-standard character encodings, rather than the constructor parameter. 2015-09-13 16:08:00 +02:00
Andreas Schildbach
fb6e71ee2b Hafas: Declare individual product map for each provider, rather than implementing intToProduct() and setProductBits(). 2015-09-13 16:08:00 +02:00
Andreas Schildbach
cf651676d2 Migrate network IDs to constant field. 2015-02-25 09:05:01 +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
8ce3279390 Forgotten: Change return type of NetworkProvider.defaultProducts() from Collection to Set. 2015-02-09 10:13:15 +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
806100c868 Guava: Use Charsets constants. 2015-01-29 00:33:39 +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
0122de4bb5 Hafas: Improve handling of station name suffixes. 2015-01-12 18:34:49 +01:00
Andreas Schildbach
540535b7d5 Hafas: Improve on splitting place and name for lots of networks. 2015-01-11 20:20:37 +01:00
Andreas Schildbach
06a0d12b0f Update year of copyright. 2015-01-01 01:52:27 +01:00
Andreas Schildbach
32ceccedb8 Disable sort by weight in JSON getstops for Brandenburg. 2014-12-16 22:54:43 +01:00
Andreas Schildbach
11f12a0386 Lines. 2014-11-24 10:57:07 +01:00
Andreas Schildbach
4d46299fb1 Fix NetworkProvider.hasCapabilities(). 2014-08-29 10:03:20 +02:00
Andreas Schildbach
31b89f7ef8 Use common method for querying for nearby stations (Hafas). 2014-08-06 23:08:12 +02:00
Andreas Schildbach
fc91b8c7cb Use common method for querying departures (Hafas). 2014-08-06 23:08:12 +02:00
Andreas Schildbach
00b0f014ca Rename NetworkProvider.autocompleteStations() to .suggestLocations() and change return type to SuggestLocationsResult. 2014-07-09 16:42:14 +02:00
Andreas Schildbach
9bfa490c8e Remove support for unused MLcReq (Hafas). 2014-07-07 23:08:17 +02:00
Andreas Schildbach
b265dd03cb Make auto-complete via getstops endpoint default (Hafas). 2014-07-07 23:08:00 +02:00
Andreas Schildbach
8bcdc7aa14 Default to binary trips query for Hafas based providers. 2014-06-18 12:44:36 +02:00
Andreas Schildbach
1b987a6b72 Remove Location.toDebugString(), use toString() instead. 2014-05-15 15:25:41 +02:00
Andreas Schildbach
d8f3dcaf6c Migrate location IDs from int to String. 2014-04-23 13:59:52 +02:00
Andreas Schildbach
d8ca50189d De-select 'on demand' by default for Brandenburg 2014-01-21 10:30:31 +01:00
Andreas Schildbach
8f201d4b1f Raise default number of requested trips to 6 2014-01-20 17:28:29 +01:00
Andreas Schildbach
23489327b1 Update year of copyright 2014-01-12 00:44:10 +01:00
Andreas Schildbach
fbe11f222c Lines 2014-01-12 00:42:35 +01:00
Andreas Schildbach
29dc8482f6 Remove accessId from AbstractHafasProvider constructor 2013-11-19 10:57:53 +01:00
Andreas Schildbach
3d2f4a6c6a Migrate Brandenburg to binary connections query 2013-11-19 10:57:53 +01:00
Andreas Schildbach
5c2b555d0d Extract JSON nearby stations parameters to method 2013-10-13 10:53:30 +02:00
Andreas Schildbach
f65aa7ea57 Extract XML nearby stations parameters to method 2013-08-18 20:22:02 +02:00
Andreas Schildbach
7acd4a0afa Extract JSON get stops parameters to method 2013-08-18 20:22:01 +02:00
Andreas Schildbach
4a7743d094 Hafas endpoints 2013-08-18 20:22:01 +02:00
Andreas Schildbach
6f2b4515d9 Extract XML query departures parameters to method 2013-08-18 20:22:01 +02:00
Andreas Schildbach
2852aedbd5 rename Connection to Trip 2013-06-20 12:29:25 +02:00
Andreas Schildbach
29f719db5a use Product enum in queryConnections() 2013-03-15 10:13:35 +01:00
Andreas Schildbach
090a2ed1e8 always use arabic numerals when encoding numbers into urls 2013-03-08 23:42:19 +01:00
Andreas Schildbach
36ff83f79c update year of copyright 2013-01-01 13:46:57 +01:00
Andreas Schildbach
b389b13fac fixed umlaut problem with Brandenburg auto-complete 2012-12-15 11:55:05 +01:00
Andreas Schildbach
8f5c96f661 update api base for Brandenburg 2012-11-22 00:36:15 +01:00
Andreas Schildbach
e781abb3c7 specify encodings as Charset rather than String 2012-05-29 14:56:19 +02:00
Andreas Schildbach
4db44b1630 adjust year of copyright 2012-03-12 14:15:41 +01:00
Andreas Schildbach
f80bba6934 sub-project for enabler 2012-02-23 14:03:41 +01:00
Renamed from src/de/schildbach/pte/VbbProvider.java (Browse further)