normalize SN4 (Night S-Bahn)

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@607 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach@gmail.com 2011-05-06 17:56:39 +00:00
parent a1aad80bad
commit bafa81b8f5

View file

@ -103,7 +103,7 @@ public class ZvvProvider extends AbstractHafasProvider
throw new IllegalStateException("cannot normalize line " + line); throw new IllegalStateException("cannot normalize line " + line);
} }
private static final Pattern P_NORMALIZE_LINE_S = Pattern.compile("S\\d+"); private static final Pattern P_NORMALIZE_LINE_S = Pattern.compile("SN?\\d+");
@Override @Override
protected char normalizeType(final String type) protected char normalizeType(final String type)