From 0797aedfb9f9c8094430285dc93d5437ddc81829 Mon Sep 17 00:00:00 2001 From: Svjatoslav Agejenko Date: Wed, 25 Dec 2013 01:31:04 +0200 Subject: [PATCH] use default navigation matching --- .../svjatoslav/commons/network/navigation/NavigationItem.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/eu/svjatoslav/commons/network/navigation/NavigationItem.java b/src/main/java/eu/svjatoslav/commons/network/navigation/NavigationItem.java index d40ff57..c66e22a 100755 --- a/src/main/java/eu/svjatoslav/commons/network/navigation/NavigationItem.java +++ b/src/main/java/eu/svjatoslav/commons/network/navigation/NavigationItem.java @@ -10,7 +10,7 @@ import eu.svjatoslav.commons.string.WildCardMatcher; public class NavigationItem { - private String matchingWildcard; + private final String matchingWildcard; private final Map localeToTitle = new HashMap(); ArrayList subElements = new ArrayList(); private Locale[] localeOrder; @@ -31,6 +31,7 @@ public class NavigationItem { final String... titles) { this.parent = parent; this.linkUrl = linkUrl; + matchingWildcard = linkUrl; initializeLocalizedTitles(titles); } -- 2.20.1