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:
andreas.schildbach 2010-09-30 17:13:19 +00:00
parent 8419822b30
commit 7ffba4bb94

View file

@ -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();