consolidation of connectionsQueryUri() and checkConnectionsQuery()

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@37 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach 2010-07-29 09:03:54 +00:00
parent 8e2786cb7e
commit 846547ff74
6 changed files with 20 additions and 21 deletions

View file

@ -86,7 +86,7 @@ public class SbbProvider implements NetworkProvider
throw new UnsupportedOperationException();
}
public String connectionsQueryUri(final String from, final String via, final String to, final Date date, final boolean dep)
private String connectionsQueryUri(final String from, final String via, final String to, final Date date, final boolean dep)
{
final DateFormat DATE_FORMAT = new SimpleDateFormat("dd.MM.yy");
final DateFormat TIME_FORMAT = new SimpleDateFormat("HH:mm");
@ -113,7 +113,8 @@ public class SbbProvider implements NetworkProvider
return uri.toString();
}
public CheckConnectionsQueryResult checkConnectionsQuery(final String queryUri) throws IOException
public CheckConnectionsQueryResult checkConnectionsQuery(final String from, final String via, final String to, final Date date, final boolean dep)
throws IOException
{
throw new UnsupportedOperationException();
}