From da07c3acbf43ca9f911c720e0c42c771b6bd0427 Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Wed, 24 Jun 2015 08:15:03 -0700 Subject: [PATCH] Switch to guava version of Function, since the jdk version is only available in java8 --- .../main/java/org/elasticsearch/index/mapper/MapperService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/elasticsearch/index/mapper/MapperService.java b/core/src/main/java/org/elasticsearch/index/mapper/MapperService.java index b1630ed7020..946ee5b7a17 100755 --- a/core/src/main/java/org/elasticsearch/index/mapper/MapperService.java +++ b/core/src/main/java/org/elasticsearch/index/mapper/MapperService.java @@ -20,6 +20,7 @@ package org.elasticsearch.index.mapper; import com.carrotsearch.hppc.ObjectHashSet; +import com.google.common.base.Function; import com.google.common.base.Predicate; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; @@ -72,7 +73,6 @@ import java.util.List; import java.util.Map; import java.util.concurrent.CopyOnWriteArrayList; import java.util.concurrent.locks.ReentrantReadWriteLock; -import java.util.function.Function; import static org.elasticsearch.common.collect.MapBuilder.newMapBuilder;