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:
@@ -52,19 +52,16 @@ public class TestReceivingMessageSourceParserTests {
|
||||
|
||||
public static class TwitterTemplateFactoryBean implements FactoryBean<TwitterOperations>{
|
||||
|
||||
@Override
|
||||
public TwitterOperations getObject() throws Exception {
|
||||
TwitterOperations oper = mock(TwitterOperations.class);
|
||||
when(oper.getProfileId()).thenReturn("kermit");
|
||||
return oper;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Class<?> getObjectType() {
|
||||
return TwitterOperations.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isSingleton() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -220,12 +220,10 @@ public class DirectMessageReceivingMessageSourceTests {
|
||||
@SuppressWarnings({ "rawtypes", "serial" })
|
||||
public static class SampleResoponceList extends ArrayList implements ResponseList {
|
||||
|
||||
@Override
|
||||
public RateLimitStatus getRateLimitStatus() {
|
||||
return mock(RateLimitStatus.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RateLimitStatus getFeatureSpecificRateLimitStatus() {
|
||||
return mock(RateLimitStatus.class);
|
||||
}
|
||||
|
||||
@@ -220,12 +220,10 @@ public class TimelineUpdateReceivingMessageSourceTests {
|
||||
@SuppressWarnings({ "rawtypes", "serial" })
|
||||
public static class SampleResoponceList extends ArrayList implements ResponseList {
|
||||
|
||||
@Override
|
||||
public RateLimitStatus getRateLimitStatus() {
|
||||
return mock(RateLimitStatus.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RateLimitStatus getFeatureSpecificRateLimitStatus() {
|
||||
return mock(RateLimitStatus.class);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user