fixed NPE

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@46 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach 2010-08-06 22:34:49 +00:00
parent b8e80f3635
commit 69cfde7951

View file

@ -380,7 +380,7 @@ public final class VbbProvider implements NetworkProvider
}
else
{
final int arrivalId = Integer.parseInt(mDetFine.group(12));
final int arrivalId = mDetFine.group(12) != null ? Integer.parseInt(mDetFine.group(12)) : 0;
final String arrival = ParserUtils.resolveEntities(selectNotNull(mDetFine.group(13), mDetFine.group(14)));