Polish "Use diamond operator where feasible"
See gh-31916
This commit is contained in:
@@ -250,7 +250,6 @@ class DefaultMessageListenerContainerTests {
|
||||
ConnectionFactory connectionFactory = mock();
|
||||
given(connectionFactory.createConnection()).will(new Answer<>() {
|
||||
int currentAttempts = 0;
|
||||
|
||||
@Override
|
||||
public Object answer(InvocationOnMock invocation) throws Throwable {
|
||||
currentAttempts++;
|
||||
|
||||
Reference in New Issue
Block a user