From 0994d314433d55f483402609bca9b5451f3e958c Mon Sep 17 00:00:00 2001 From: Andreas Schildbach Date: Sun, 20 Sep 2015 22:55:24 +0200 Subject: [PATCH] Add 'Schiffstation' to names that need places in their unique form. --- enabler/src/de/schildbach/pte/dto/Location.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/enabler/src/de/schildbach/pte/dto/Location.java b/enabler/src/de/schildbach/pte/dto/Location.java index eba3a0ba..a0f3832c 100644 --- a/enabler/src/de/schildbach/pte/dto/Location.java +++ b/enabler/src/de/schildbach/pte/dto/Location.java @@ -144,8 +144,9 @@ public final class Location implements Serializable return false; } - private static final String[] NON_UNIQUE_NAMES = { "Hauptbahnhof", "Hbf", "Bahnhof", "Bf", "Busbahnhof", "ZOB", "Zentrum", "Dorf", "Kirche", - "Nord", "Ost", "Süd", "West" }; + private static final String[] NON_UNIQUE_NAMES = { "Hauptbahnhof", "Hbf", "Bahnhof", "Bf", "Busbahnhof", "ZOB", "Schiffstation", "Schiffst.", + "Zentrum", "Dorf", "Kirche", "Nord", "Ost", "Süd", "West" }; + static { Arrays.sort(NON_UNIQUE_NAMES);