Make constructors of Preferences/ProjectWatches package private
Change-Id: I254a53e8aadf523eeabe9b9462e9dc9dcd655471 Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
@@ -99,7 +99,7 @@ public class Preferences {
|
||||
private DiffPreferencesInfo diffPreferences;
|
||||
private EditPreferencesInfo editPreferences;
|
||||
|
||||
public Preferences(
|
||||
Preferences(
|
||||
Account.Id accountId,
|
||||
Config cfg,
|
||||
Config defaultCfg,
|
||||
|
||||
@@ -111,8 +111,7 @@ public class ProjectWatches {
|
||||
|
||||
private ImmutableMap<ProjectWatchKey, ImmutableSet<NotifyType>> projectWatches;
|
||||
|
||||
public ProjectWatches(
|
||||
Account.Id accountId, Config cfg, ValidationError.Sink validationErrorSink) {
|
||||
ProjectWatches(Account.Id accountId, Config cfg, ValidationError.Sink validationErrorSink) {
|
||||
this.accountId = checkNotNull(accountId, "accountId");
|
||||
this.cfg = checkNotNull(cfg, "cfg");
|
||||
this.validationErrorSink = checkNotNull(validationErrorSink, "validationErrorSink");
|
||||
|
||||
Reference in New Issue
Block a user