mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-17 18:29:51 +00:00
fix handling for empty positions
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@214 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
8419822b30
commit
7ffba4bb94
1 changed files with 6 additions and 1 deletions
|
@ -345,7 +345,12 @@ public abstract class AbstractEfaProvider implements NetworkProvider
|
||||||
{
|
{
|
||||||
String position = pp.getAttributeValue(null, "platform");
|
String position = pp.getAttributeValue(null, "platform");
|
||||||
if (position != null)
|
if (position != null)
|
||||||
|
{
|
||||||
|
if (position.length() != 0)
|
||||||
position = "Gl. " + position;
|
position = "Gl. " + position;
|
||||||
|
else
|
||||||
|
position = null;
|
||||||
|
}
|
||||||
|
|
||||||
departureTime.clear();
|
departureTime.clear();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue