Code Polishing (Sonar)

- remove redundant modifiers
- overridable methods called from ctors

Polishing - PR Comments
This commit is contained in:
Gary Russell
2015-12-03 15:23:12 -05:00
committed by Artem Bilan
parent ddb4321e1d
commit 255247ca9a
56 changed files with 447 additions and 381 deletions

View File

@@ -81,7 +81,7 @@ abstract class AbstractTwitterMessageSource<T> extends IntegrationObjectSupport
private volatile int pageSize = DEFAULT_PAGE_SIZE;
public AbstractTwitterMessageSource(Twitter twitter, String metadataKey) {
protected AbstractTwitterMessageSource(Twitter twitter, String metadataKey) {
Assert.notNull(twitter, "twitter must not be null");
Assert.notNull(metadataKey, "metadataKey must not be null");
this.twitter = twitter;