mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-07 16:48:49 +00:00
VBB: fix splitting of place and name for addresses
This commit is contained in:
parent
9754d3019f
commit
04e6b0c93a
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ public class VbbProvider extends AbstractHafasClientInterfaceProvider {
|
||||||
protected String[] splitAddress(final String address) {
|
protected String[] splitAddress(final String address) {
|
||||||
final Matcher m = P_SPLIT_NAME_FIRST_COMMA.matcher(address);
|
final Matcher m = P_SPLIT_NAME_FIRST_COMMA.matcher(address);
|
||||||
if (m.matches())
|
if (m.matches())
|
||||||
return new String[] { m.group(1), m.group(2) };
|
return new String[] { m.group(2), m.group(1) };
|
||||||
return super.splitStationName(address);
|
return super.splitStationName(address);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue