handle 'Busbahnhof' when shortening names

This commit is contained in:
Andreas Schildbach 2013-04-13 12:33:48 +02:00
parent 129f9e263c
commit 95cce1eb4f

View file

@ -115,7 +115,7 @@ public final class Location implements Serializable
return false;
}
private static final String[] NON_UNIQUE_NAMES = { "Hauptbahnhof", "Hbf", "Bahnhof", "Dorf", "Kirche", "Nord", "Ost", "Süd", "West" };
private static final String[] NON_UNIQUE_NAMES = { "Hauptbahnhof", "Hbf", "Bahnhof", "Busbahnhof", "Dorf", "Kirche", "Nord", "Ost", "Süd", "West" };
static
{
Arrays.sort(NON_UNIQUE_NAMES);