mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-16 17:39:49 +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");
|
||||
if (position != null)
|
||||
position = "Gl. " + position;
|
||||
{
|
||||
if (position.length() != 0)
|
||||
position = "Gl. " + position;
|
||||
else
|
||||
position = null;
|
||||
}
|
||||
|
||||
departureTime.clear();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue