Remove unused generics type from TransportMessage

followup of #15776, the type is not needed anymore.
This commit is contained in:
javanna 2016-02-12 16:31:35 +01:00 committed by Luca Cavanna
parent 5849646baa
commit 8d0089c8d8
3 changed files with 3 additions and 6 deletions

View File

@ -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;

View File

@ -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();

View File

@ -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();