Make constructors of Preferences/ProjectWatches package private

Change-Id: I254a53e8aadf523eeabe9b9462e9dc9dcd655471
Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
Edwin Kempin
2018-01-17 16:50:01 +01:00
parent 4c7c61defd
commit 4f57f9a939
2 changed files with 2 additions and 3 deletions

View File

@@ -99,7 +99,7 @@ public class Preferences {
private DiffPreferencesInfo diffPreferences;
private EditPreferencesInfo editPreferences;
public Preferences(
Preferences(
Account.Id accountId,
Config cfg,
Config defaultCfg,

View File

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