Synchronize with latest buildSrc updates
buildSrc updated to use latest Gradle wrapper. See buildSrc git log for complete details; in short, eclipse JDT prefs are now auto-generated and the gradle daemon is no longer 'on by default', but must be enabled with --daemon or -Dorg.gradle.daemon=true. * removed all existing jdt preferences files in favor of auto-generation. * removed .springBeans from .gitignore; this file should be source-controlled for consistency and convenience. * removed illegal @Override annotations. Eclipse/STS now catch these properly!
This commit is contained in:
@@ -62,7 +62,7 @@ public class XmppMessageDrivenEndpointTests {
|
||||
doAnswer(new Answer<Object>() {
|
||||
@Override
|
||||
public Object answer(InvocationOnMock invocation) throws Throwable {
|
||||
packetListSet.remove((PacketListener) invocation.getArguments()[0]);
|
||||
packetListSet.remove(invocation.getArguments()[0]);
|
||||
return null;
|
||||
}
|
||||
}).when(connection).removePacketListener(Mockito.any(PacketListener.class));
|
||||
|
||||
@@ -66,7 +66,7 @@ public class XmppRosterEventMessageDrivenEndpointTests {
|
||||
doAnswer(new Answer<Object>() {
|
||||
@Override
|
||||
public Object answer(InvocationOnMock invocation) throws Throwable {
|
||||
rosterSet.remove((RosterListener) invocation.getArguments()[0]);
|
||||
rosterSet.remove(invocation.getArguments()[0]);
|
||||
return null;
|
||||
}
|
||||
}).when(roster).removeRosterListener(Mockito.any(RosterListener.class));
|
||||
|
||||
Reference in New Issue
Block a user