Skip to content

Commit 04e6b0c

Browse files
committed
VBB: fix splitting of place and name for addresses
1 parent 9754d30 commit 04e6b0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/de/schildbach/pte/VbbProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ protected String[] splitPOI(final String poi) {
9999
protected String[] splitAddress(final String address) {
100100
final Matcher m = P_SPLIT_NAME_FIRST_COMMA.matcher(address);
101101
if (m.matches())
102-
return new String[] { m.group(1), m.group(2) };
102+
return new String[] { m.group(2), m.group(1) };
103103
return super.splitStationName(address);
104104
}
105105

0 commit comments

Comments
 (0)