Fix long line

Original commit: elastic/x-pack-elasticsearch@8d030d8cf8
This commit is contained in:
David Roberts 2016-12-20 14:09:39 +00:00
parent 537fea313f
commit 8b135226f6
1 changed files with 2 additions and 1 deletions

View File

@ -392,7 +392,8 @@ public class MockClientBuilder {
doAnswer(new Answer<Void>() { doAnswer(new Answer<Void>() {
@Override @Override
public Void answer(InvocationOnMock invocationOnMock) throws Throwable { public Void answer(InvocationOnMock invocationOnMock) throws Throwable {
ActionListener<IndicesAliasesResponse> listener = (ActionListener<IndicesAliasesResponse>) invocationOnMock.getArguments()[0]; ActionListener<IndicesAliasesResponse> listener =
(ActionListener<IndicesAliasesResponse>) invocationOnMock.getArguments()[0];
listener.onResponse(mock(IndicesAliasesResponse.class)); listener.onResponse(mock(IndicesAliasesResponse.class));
return null; return null;
} }