Polish "Use diamond operator where feasible"

See gh-31916
This commit is contained in:
Stéphane Nicoll
2023-12-28 13:08:24 +01:00
parent 094479b55f
commit a6e87b40c7
17 changed files with 21 additions and 41 deletions

View File

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