mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 00:39:58 +00:00
dedicated style dto rather than int[]
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@888 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
473464fa11
commit
b97376570a
16 changed files with 450 additions and 424 deletions
|
@ -636,7 +636,7 @@ public abstract class AbstractHafasProvider extends AbstractNetworkProvider
|
|||
lineStr = classChar + m.group(1) + m.group(2);
|
||||
else
|
||||
lineStr = classChar + prod;
|
||||
line = new Line(null, lineStr, lineStr != null ? lineColors(lineStr) : null);
|
||||
line = new Line(null, lineStr, lineStr != null ? lineStyle(lineStr) : null);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1863,14 +1863,14 @@ public abstract class AbstractHafasProvider extends AbstractNetworkProvider
|
|||
{
|
||||
if (attrs.length == 0)
|
||||
{
|
||||
return new Line(null, lineStr, lineColors(lineStr));
|
||||
return new Line(null, lineStr, lineStyle(lineStr));
|
||||
}
|
||||
else
|
||||
{
|
||||
final Set<Line.Attr> attrSet = new HashSet<Line.Attr>();
|
||||
for (final Line.Attr attr : attrs)
|
||||
attrSet.add(attr);
|
||||
return new Line(null, lineStr, lineColors(lineStr), attrSet);
|
||||
return new Line(null, lineStr, lineStyle(lineStr), attrSet);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue