separate parsing lines with type from lines without

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@903 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach@gmail.com 2012-01-26 11:09:09 +00:00
parent a70b7a6fe5
commit e599481525
16 changed files with 18 additions and 80 deletions

View file

@ -1835,9 +1835,9 @@ public abstract class AbstractHafasProvider extends AbstractNetworkProvider
private static final Pattern P_LINE_BUS_SPECIAL = Pattern.compile("Bus([A-Z]/[\\dA-Z]+)");
protected Line normalizeLine(final String line)
protected Line parseLineWithoutType(final String line)
{
if (line == null || line.length() == 0 || line.equals("#"))
if (line == null || line.length() == 0)
return null;
final Matcher mBusSpecial = P_LINE_BUS_SPECIAL.matcher(line);