mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 08:49:58 +00:00
decouple station list object from station dto
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@491 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
a990586727
commit
240e95d19b
5 changed files with 9 additions and 20 deletions
|
@ -96,7 +96,7 @@ public final class BahnProvider extends AbstractHafasProvider
|
|||
final int sId = Integer.parseInt(m.group(1));
|
||||
final String sName = ParserUtils.resolveEntities(m.group(2).trim());
|
||||
|
||||
final Station station = new Station(sId, null, sName, null, 0, 0, 0, null, null);
|
||||
final Station station = new Station(sId, null, sName, null, 0, 0);
|
||||
stations.add(station);
|
||||
}
|
||||
}
|
||||
|
@ -113,10 +113,9 @@ public final class BahnProvider extends AbstractHafasProvider
|
|||
|
||||
final int sLon = Integer.parseInt(m.group(1));
|
||||
final int sLat = Integer.parseInt(m.group(2));
|
||||
final int sDist = Integer.parseInt(m.group(4));
|
||||
final String sName = ParserUtils.resolveEntities(m.group(5).trim());
|
||||
|
||||
final Station station = new Station(sId, null, sName, null, sLat, sLon, sDist, null, null);
|
||||
final Station station = new Station(sId, null, sName, null, sLat, sLon);
|
||||
stations.add(station);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue