Add 'Zentrum' to names that need places in their unique form.

This commit is contained in:
Andreas Schildbach 2014-07-20 10:50:18 +02:00
parent defb006745
commit ea4b5441e7

View file

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