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:
Chris Beams
2010-11-11 10:04:20 -08:00
parent 6d605b44cc
commit a9c70aa1e7
35 changed files with 15 additions and 424 deletions

View File

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

View File

@@ -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);
}

View File

@@ -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);
}