mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-14 16:40:30 +00:00
be more conservative with parsing of names when scanning for stations by name
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@481 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
398fa73562
commit
0e3c4fea7f
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ public abstract class AbstractEfaProvider implements NetworkProvider
|
||||||
final Location location = processOdvNameElem(pp, place);
|
final Location location = processOdvNameElem(pp, place);
|
||||||
if (location.type == LocationType.STATION)
|
if (location.type == LocationType.STATION)
|
||||||
{
|
{
|
||||||
final Station newStation = new Station(location.id, null, location.name, null, location.lat, location.lon, 0, null, null);
|
final Station newStation = new Station(location.id, null, null, location.name, location.lat, location.lon, 0, null, null);
|
||||||
if (!stations.contains(newStation))
|
if (!stations.contains(newStation))
|
||||||
stations.add(newStation);
|
stations.add(newStation);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue