From d8e387dc0f6bf6b6f118c5386607f0f71aebbff8 Mon Sep 17 00:00:00 2001 From: Joel Bernstein Date: Mon, 3 Mar 2014 17:42:47 +0000 Subject: [PATCH] SOLR-5720: Java 6 compatibility change git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573636 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/solr/handler/component/ExpandComponent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solr/core/src/java/org/apache/solr/handler/component/ExpandComponent.java b/solr/core/src/java/org/apache/solr/handler/component/ExpandComponent.java index 0591c4d0051..9cb9e15acbd 100644 --- a/solr/core/src/java/org/apache/solr/handler/component/ExpandComponent.java +++ b/solr/core/src/java/org/apache/solr/handler/component/ExpandComponent.java @@ -174,7 +174,7 @@ public class ExpandComponent extends SearchComponent implements PluginInfoInitia searcher.search(query, pfilter.filter, collector); IntObjectOpenHashMap groups = groupExpandCollector.getGroups(); Iterator it = groups.iterator(); - Map outMap = new HashMap<>(); + Map outMap = new HashMap(); BytesRef bytesRef = new BytesRef(); CharsRef charsRef = new CharsRef(); FieldType fieldType = searcher.getSchema().getField(field).getType();