diff --git a/notification/src/main/java/com/amazon/elasticsearch/ad/transport/AnomalyResultResponse.java b/notification/src/main/java/com/amazon/elasticsearch/ad/transport/AnomalyResultResponse.java index 053880cb..d28c08c0 100644 --- a/notification/src/main/java/com/amazon/elasticsearch/ad/transport/AnomalyResultResponse.java +++ b/notification/src/main/java/com/amazon/elasticsearch/ad/transport/AnomalyResultResponse.java @@ -6,6 +6,7 @@ import java.util.ArrayList; import java.util.List; +import com.amazon.elasticsearch.ad.model.FeatureData; import org.elasticsearch.action.ActionResponse; import org.elasticsearch.common.io.stream.InputStreamStreamInput; import org.elasticsearch.common.io.stream.OutputStreamStreamOutput; @@ -14,8 +15,6 @@ import org.elasticsearch.common.xcontent.ToXContentObject; import org.elasticsearch.common.xcontent.XContentBuilder; -import com.amazon.elasticsearch.ad.model.FeatureData; - public class AnomalyResultResponse extends ActionResponse implements ToXContentObject { public static final String ANOMALY_GRADE_JSON_KEY = "anomalyGrade"; public static final String CONFIDENCE_JSON_KEY = "confidence"; @@ -39,10 +38,10 @@ public AnomalyResultResponse(StreamInput in) throws IOException { int size = in.readVInt(); features = new ArrayList(); for (int i=0; i