Switch to guava version of Function, since the jdk version is only

available in java8
This commit is contained in:
Ryan Ernst 2015-06-24 08:15:03 -07:00
parent b4ac0b2312
commit da07c3acbf
1 changed files with 1 additions and 1 deletions

View File

@ -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;