From f23e8c3722d0e8ba3a22b9552403f1a511c370ae Mon Sep 17 00:00:00 2001 From: Robert Muir Date: Tue, 7 Jun 2016 12:42:19 -0400 Subject: [PATCH] more cleanups --- .../main/java/org/elasticsearch/painless/AnalyzerCaster.java | 1 - .../src/main/java/org/elasticsearch/painless/Definition.java | 2 -- .../main/java/org/elasticsearch/painless/WriterConstants.java | 1 - 3 files changed, 4 deletions(-) diff --git a/modules/lang-painless/src/main/java/org/elasticsearch/painless/AnalyzerCaster.java b/modules/lang-painless/src/main/java/org/elasticsearch/painless/AnalyzerCaster.java index 6e542d6aca9..e724fa9e810 100644 --- a/modules/lang-painless/src/main/java/org/elasticsearch/painless/AnalyzerCaster.java +++ b/modules/lang-painless/src/main/java/org/elasticsearch/painless/AnalyzerCaster.java @@ -22,7 +22,6 @@ package org.elasticsearch.painless; import org.elasticsearch.painless.Definition.Cast; import org.elasticsearch.painless.Definition.Sort; import org.elasticsearch.painless.Definition.Type; -import org.elasticsearch.painless.node.ANode; /** * Used during the analysis phase to collect legal type casts and promotions diff --git a/modules/lang-painless/src/main/java/org/elasticsearch/painless/Definition.java b/modules/lang-painless/src/main/java/org/elasticsearch/painless/Definition.java index 55e78833288..a68c9629a2d 100644 --- a/modules/lang-painless/src/main/java/org/elasticsearch/painless/Definition.java +++ b/modules/lang-painless/src/main/java/org/elasticsearch/painless/Definition.java @@ -32,12 +32,10 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; -import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.PrimitiveIterator; -import java.util.Set; import java.util.Spliterator; /** diff --git a/modules/lang-painless/src/main/java/org/elasticsearch/painless/WriterConstants.java b/modules/lang-painless/src/main/java/org/elasticsearch/painless/WriterConstants.java index ed8ca9796af..48fb673f742 100644 --- a/modules/lang-painless/src/main/java/org/elasticsearch/painless/WriterConstants.java +++ b/modules/lang-painless/src/main/java/org/elasticsearch/painless/WriterConstants.java @@ -28,7 +28,6 @@ import org.objectweb.asm.commons.Method; import java.lang.invoke.CallSite; import java.lang.invoke.LambdaMetafactory; -import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.lang.invoke.MethodType; import java.util.BitSet;