Refactor some RDE import logic to be generic

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=136076610
This commit is contained in:
Wolfgang Meyers 2016-10-13 13:10:24 -07:00 committed by Ben McIlwain
parent 71d7a382f3
commit 94af94ddff
4 changed files with 51 additions and 50 deletions

View file

@ -101,10 +101,8 @@ public class RdeContactInput extends Input<ContactResource> {
/**
* Creates a new instance of {@link RdeContactReader}
*
* <p>This method can be overridden by a subclass for the purposes of unit testing.
*/
protected RdeContactReader newReader(int offset, int maxResults) {
private RdeContactReader newReader(int offset, int maxResults) {
return new RdeContactReader(importBucketName, importFileName, offset, maxResults);
}