mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-17 11:09:48 +00:00
fixed NPE
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@46 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
b8e80f3635
commit
69cfde7951
1 changed files with 1 additions and 1 deletions
|
@ -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)));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue