mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 16:59:51 +00:00
renamed method
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@682 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
ee172bc0a5
commit
caaf389634
9 changed files with 40 additions and 40 deletions
|
@ -59,7 +59,7 @@ public class VbbProvider extends AbstractHafasProvider
|
|||
private static final Pattern P_SPLIT_NAME_COMMA = Pattern.compile("([^,]*), ([^,]*)");
|
||||
|
||||
@Override
|
||||
protected String[] splitNameAndPlace(final String name)
|
||||
protected String[] splitPlaceAndName(final String name)
|
||||
{
|
||||
final Matcher mParen = P_SPLIT_NAME_PAREN.matcher(name);
|
||||
if (mParen.matches())
|
||||
|
@ -72,7 +72,7 @@ public class VbbProvider extends AbstractHafasProvider
|
|||
if (mComma.matches())
|
||||
return new String[] { mComma.group(1), mComma.group(2) };
|
||||
|
||||
return super.splitNameAndPlace(name);
|
||||
return super.splitPlaceAndName(name);
|
||||
}
|
||||
|
||||
public NearbyStationsResult queryNearbyStations(final Location location, final int maxDistance, final int maxStations) throws IOException
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue