Remove unused generics type from TransportMessage
followup of #15776, the type is not needed anymore.
This commit is contained in:
parent
5849646baa
commit
8d0089c8d8
|
@ -25,11 +25,8 @@ import org.elasticsearch.common.io.stream.Streamable;
|
||||||
import org.elasticsearch.common.transport.TransportAddress;
|
import org.elasticsearch.common.transport.TransportAddress;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.Collections;
|
|
||||||
import java.util.HashMap;
|
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
public abstract class TransportMessage<TM extends TransportMessage<TM>> implements Streamable {
|
public abstract class TransportMessage implements Streamable {
|
||||||
|
|
||||||
private TransportAddress remoteAddress;
|
private TransportAddress remoteAddress;
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ import org.elasticsearch.tasks.Task;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
||||||
public abstract class TransportRequest extends TransportMessage<TransportRequest> {
|
public abstract class TransportRequest extends TransportMessage {
|
||||||
|
|
||||||
public static class Empty extends TransportRequest {
|
public static class Empty extends TransportRequest {
|
||||||
public static final Empty INSTANCE = new Empty();
|
public static final Empty INSTANCE = new Empty();
|
||||||
|
|
|
@ -21,7 +21,7 @@ package org.elasticsearch.transport;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
||||||
public abstract class TransportResponse extends TransportMessage<TransportResponse> {
|
public abstract class TransportResponse extends TransportMessage {
|
||||||
|
|
||||||
public static class Empty extends TransportResponse {
|
public static class Empty extends TransportResponse {
|
||||||
public static final Empty INSTANCE = new Empty();
|
public static final Empty INSTANCE = new Empty();
|
||||||
|
|
Loading…
Reference in New Issue