Watcher: Fix compilation issue

Original commit: elastic/x-pack-elasticsearch@d94d18a12f
This commit is contained in:
Alexander Reelsen 2018-03-14 16:20:25 -07:00
parent c30256e9b5
commit 4109f6e5b7
1 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@
package org.elasticsearch.xpack.watcher.input.transform;
import org.elasticsearch.common.ParsingException;
import org.elasticsearch.common.Strings;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.common.xcontent.ToXContent;
import org.elasticsearch.common.xcontent.XContentBuilder;
@ -129,6 +130,6 @@ public class TransformInputTests extends ESTestCase {
XContentBuilder output = jsonBuilder();
transformInput.toXContent(output, ToXContent.EMPTY_PARAMS);
assertThat(jsonBuilder.string(), is(output.string()));
assertThat(Strings.toString(jsonBuilder), is(Strings.toString(output)));
}
}