From 8c491f51a569b2243c44e29cc0d3788f8f156e61 Mon Sep 17 00:00:00 2001 From: reger Date: Sun, 1 Feb 2015 00:29:28 +0100 Subject: [PATCH] remove hardcoded initialization of language nav if not used --- source/net/yacy/search/query/SearchEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/yacy/search/query/SearchEvent.java b/source/net/yacy/search/query/SearchEvent.java index c1107b4b3..dc25b8474 100644 --- a/source/net/yacy/search/query/SearchEvent.java +++ b/source/net/yacy/search/query/SearchEvent.java @@ -235,7 +235,7 @@ public final class SearchEvent { this.expectedRemoteReferences = new AtomicInteger(0); this.excludeintext_image = Switchboard.getSwitchboard().getConfigBool("search.excludeintext.image", true); // prepare configured search navigation - final String navcfg = Switchboard.getSwitchboard().getConfig("search.navigation", "")+",language"; + final String navcfg = Switchboard.getSwitchboard().getConfig("search.navigation", ""); this.locationNavigator = navcfg.contains("location") ? new ConcurrentScoreMap() : null; this.authorNavigator = navcfg.contains("authors") ? new ConcurrentScoreMap() : null; this.collectionNavigator = navcfg.contains("collections") ? new ConcurrentScoreMap() : null;