Fix compilation in eclipse
Eclipse needs a bit of extra special help with type parameters in `TransportReplicationActionTests` now.
This commit is contained in:
parent
297b1b7d9a
commit
1169cd936e
|
@ -1163,7 +1163,8 @@ public class TransportReplicationActionTests extends ESTestCase {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void execute() throws Exception {
|
public void execute() throws Exception {
|
||||||
this.resultListener.onResponse(new TransportReplicationAction.PrimaryResult<>(null, new Response()));
|
// Using the diamond operator (<>) prevents Eclipse from being able to compile this code
|
||||||
|
this.resultListener.onResponse(new TransportReplicationAction.PrimaryResult<Request, Response>(null, new Response()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue