mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-18 16:29:51 +00:00
Include network with Line.
This commit is contained in:
parent
39008afc0b
commit
2038a740e2
23 changed files with 446 additions and 418 deletions
|
@ -3115,14 +3115,14 @@ public abstract class AbstractHafasProvider extends AbstractNetworkProvider
|
|||
{
|
||||
if (attrs.length == 0)
|
||||
{
|
||||
return new Line(null, product, normalizedName, lineStyle(null, product, normalizedName), comment);
|
||||
return new Line(null, null, product, normalizedName, lineStyle(null, product, normalizedName), comment);
|
||||
}
|
||||
else
|
||||
{
|
||||
final Set<Line.Attr> attrSet = new HashSet<Line.Attr>();
|
||||
for (final Line.Attr attr : attrs)
|
||||
attrSet.add(attr);
|
||||
return new Line(null, product, normalizedName, lineStyle(null, product, normalizedName), attrSet, comment);
|
||||
return new Line(null, null, product, normalizedName, lineStyle(null, product, normalizedName), attrSet, comment);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue