Handle core removing <T> from Writeable

Original commit: elastic/x-pack-elasticsearch@34632c8a67
This commit is contained in:
Nik Everett 2016-04-21 13:00:39 -04:00
parent f708b2eff1
commit 629c585fba
2 changed files with 3 additions and 3 deletions

View File

@ -73,7 +73,7 @@ public class MonitoringBulkResponse extends ActionResponse {
out.writeOptionalWriteable(error);
}
public static class Error implements Writeable<Error>, ToXContent {
public static class Error implements Writeable, ToXContent {
private final Throwable cause;
private final RestStatus status;

View File

@ -20,7 +20,7 @@ import java.util.Map;
/**
* Base class for all monitoring documents.
*/
public class MonitoringDoc implements Writeable<MonitoringDoc> {
public class MonitoringDoc implements Writeable {
private final String monitoringId;
private final String monitoringVersion;
@ -98,7 +98,7 @@ public class MonitoringDoc implements Writeable<MonitoringDoc> {
"]";
}
public static class Node implements Writeable<Node>, ToXContent {
public static class Node implements Writeable, ToXContent {
private String uuid;
private String host;