mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-12 22:18:48 +00:00
parse id of destination (fixed)
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@691 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
13a778f654
commit
08601eb37a
1 changed files with 2 additions and 2 deletions
|
@ -510,7 +510,7 @@ public abstract class AbstractHafasProvider implements NetworkProvider
|
||||||
final String position = mFine.group(5) != null ? "Gl. " + ParserUtils.resolveEntities(mFine.group(5)) : null;
|
final String position = mFine.group(5) != null ? "Gl. " + ParserUtils.resolveEntities(mFine.group(5)) : null;
|
||||||
|
|
||||||
final String destination;
|
final String destination;
|
||||||
if (mFine.group(10) != null)
|
if (mFine.group(11) != null)
|
||||||
destination = ParserUtils.resolveEntities(mFine.group(11)).trim();
|
destination = ParserUtils.resolveEntities(mFine.group(11)).trim();
|
||||||
else if (mFine.group(6) != null)
|
else if (mFine.group(6) != null)
|
||||||
destination = ParserUtils.resolveEntities(mFine.group(6)).trim();
|
destination = ParserUtils.resolveEntities(mFine.group(6)).trim();
|
||||||
|
@ -534,7 +534,7 @@ public abstract class AbstractHafasProvider implements NetworkProvider
|
||||||
|
|
||||||
final String line = product != 0 ? product + prod : normalizeLine(prod);
|
final String line = product != 0 ? product + prod : normalizeLine(prod);
|
||||||
|
|
||||||
final String capacityStr = mFine.group(11);
|
final String capacityStr = mFine.group(12);
|
||||||
final int[] capacity;
|
final int[] capacity;
|
||||||
if (capacityStr != null && !"0|0".equals(capacityStr))
|
if (capacityStr != null && !"0|0".equals(capacityStr))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue