From ea4b5441e76a0d307dcb7382a832ae8046fde822 Mon Sep 17 00:00:00 2001 From: Andreas Schildbach Date: Sun, 20 Jul 2014 10:50:18 +0200 Subject: [PATCH] Add 'Zentrum' to names that need places in their unique form. --- enabler/src/de/schildbach/pte/dto/Location.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/enabler/src/de/schildbach/pte/dto/Location.java b/enabler/src/de/schildbach/pte/dto/Location.java index 31d185cb..eff35386 100644 --- a/enabler/src/de/schildbach/pte/dto/Location.java +++ b/enabler/src/de/schildbach/pte/dto/Location.java @@ -105,8 +105,8 @@ public final class Location implements Serializable return false; } - private static final String[] NON_UNIQUE_NAMES = { "Hauptbahnhof", "Hbf", "Bahnhof", "Bf", "Busbahnhof", "ZOB", "Dorf", "Kirche", "Nord", "Ost", - "Süd", "West" }; + private static final String[] NON_UNIQUE_NAMES = { "Hauptbahnhof", "Hbf", "Bahnhof", "Bf", "Busbahnhof", "ZOB", "Zentrum", "Dorf", "Kirche", + "Nord", "Ost", "Süd", "West" }; static { Arrays.sort(NON_UNIQUE_NAMES);