From bbabf8ba855ff0fe194b7331fab5a8cca1b17041 Mon Sep 17 00:00:00 2001 From: uboness Date: Wed, 24 Jun 2015 12:18:24 +0200 Subject: [PATCH] fixed build failure failed due changes in core master Original commit: elastic/x-pack-elasticsearch@43f6badffe13697de717e69d440a956cff0d185e --- .../watcher/input/http/ExecutableHttpInput.java | 3 +-- .../support/secret/SensitiveXContentParser.java | 10 ---------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/src/main/java/org/elasticsearch/watcher/input/http/ExecutableHttpInput.java b/src/main/java/org/elasticsearch/watcher/input/http/ExecutableHttpInput.java index fcc582a77dd..dc93519c74a 100644 --- a/src/main/java/org/elasticsearch/watcher/input/http/ExecutableHttpInput.java +++ b/src/main/java/org/elasticsearch/watcher/input/http/ExecutableHttpInput.java @@ -12,7 +12,6 @@ import org.elasticsearch.common.xcontent.XContentParser; import org.elasticsearch.common.xcontent.XContentType; import org.elasticsearch.watcher.execution.WatchExecutionContext; import org.elasticsearch.watcher.input.ExecutableInput; -import org.elasticsearch.watcher.input.search.SearchInput; import org.elasticsearch.watcher.support.Variables; import org.elasticsearch.watcher.support.XContentFilterKeysUtils; import org.elasticsearch.watcher.support.http.HttpClient; @@ -85,7 +84,7 @@ public class ExecutableHttpInput extends ExecutableInput map = parser.mapOrderedAndClose(); + Map map = parser.mapOrdered(); payload = new Payload.Simple(map); } else { payload = new Payload.Simple("_value", response.body().toUtf8()); diff --git a/src/main/java/org/elasticsearch/watcher/support/secret/SensitiveXContentParser.java b/src/main/java/org/elasticsearch/watcher/support/secret/SensitiveXContentParser.java index 729f00c6ce2..debbb924d96 100644 --- a/src/main/java/org/elasticsearch/watcher/support/secret/SensitiveXContentParser.java +++ b/src/main/java/org/elasticsearch/watcher/support/secret/SensitiveXContentParser.java @@ -84,16 +84,6 @@ public class SensitiveXContentParser implements XContentParser { return parser.mapOrdered(); } - @Override - public Map mapAndClose() throws IOException { - return parser.mapAndClose(); - } - - @Override - public Map mapOrderedAndClose() throws IOException { - return parser.mapOrderedAndClose(); - } - @Override public String text() throws IOException { return parser.text();