introduce query uri in QueryDeparturesResult and

remove maxDepartures parameter from queryDepartures()

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@11 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach 2010-07-15 15:46:08 +00:00
parent 0388466320
commit c92b4f73e8
6 changed files with 22 additions and 22 deletions

View file

@ -125,10 +125,8 @@ public interface NetworkProvider
*
* @param queryUri
* uri constructed by {@link NetworkProvider#departuresQueryUri}
* @param maxDepartures
* maximum number of departures to return or {@code 0}
* @return result object containing the departures
* @throws IOException
*/
QueryDeparturesResult queryDepartures(String queryUri, int maxDepartures) throws IOException;
QueryDeparturesResult queryDepartures(String queryUri) throws IOException;
}