Unleash public transport data in your Java project.
Find a file
Patrick Kanzler a9e254c3ae AbstractNavitiaProvider: Fix NullPointerException.
4f7bd832e6 introduced a
NullPointerException in AbstractNavitiaProvider.
The call to Context() in line 970 calls prevQueryUrl.toString() and
nextQueryUrl.toString().
The variables are however null in the case that the search returned
only one result. The easiest way to reproduce this is searching
for two very near locations. The result will then be one walk-route.
This commit fixes the NPE by restoring the old behavior and has been
tested in Transportr.
2017-01-18 14:44:01 +01:00
enabler AbstractNavitiaProvider: Fix NullPointerException. 2017-01-18 14:44:01 +01:00
service Switch to Java 7. 2016-09-25 19:53:31 +02:00
.gitignore Migrate build from Maven to Gradle. 2015-07-01 18:43:36 +02:00
.travis.yml Switch to Java 7. 2016-09-25 19:53:31 +02:00
build.gradle Migrate build from Maven to Gradle. 2015-07-01 18:43:36 +02:00
README.md Add a README.md to the parent project. 2016-03-08 11:58:20 +01:00
settings.gradle Migrate build from Maven to Gradle. 2015-07-01 18:43:36 +02:00

Welcome to Public Transport Enabler, a Java library allowing you to get data from public transport providers.

This project contains several subprojects:

  • enabler: The library itself. This is probably what you're searching for. See the subproject's README for more information.
  • service: An example of how the library could be used as a web service. It's still very incomplete though.

You can build all sub-projects at once using Gradle:

gradle clean build