Include network with Line.

This commit is contained in:
Andreas Schildbach 2015-02-16 14:58:53 +01:00
parent 39008afc0b
commit 2038a740e2
23 changed files with 446 additions and 418 deletions

View file

@ -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);
}
}
}