ReceiveCommits: remove private from members in private inner classes

Change-Id: I935cb5d0614b779f2b8207b482c0da339d8b7963
This commit is contained in:
Han-Wen Nienhuys
2018-08-21 11:40:27 +02:00
parent b289707f99
commit aad35eceb7

View File

@@ -2323,7 +2323,7 @@ class ReceiveCommits {
private class CreateRequest { private class CreateRequest {
final RevCommit commit; final RevCommit commit;
final Task progress; final Task progress;
private final String refName; final String refName;
Change.Id changeId; Change.Id changeId;
ReceiveCommand cmd; ReceiveCommand cmd;
@@ -2519,9 +2519,9 @@ class ReceiveCommits {
ReceiveCommand prev; ReceiveCommand prev;
ReceiveCommand cmd; ReceiveCommand cmd;
PatchSetInfo info; PatchSetInfo info;
private PatchSet.Id priorPatchSet; PatchSet.Id priorPatchSet;
List<String> groups = ImmutableList.of(); List<String> groups = ImmutableList.of();
private ReplaceOp replaceOp; ReplaceOp replaceOp;
ReplaceRequest( ReplaceRequest(
Change.Id toChange, RevCommit newCommit, ReceiveCommand cmd, boolean checkMergedInto) { Change.Id toChange, RevCommit newCommit, ReceiveCommand cmd, boolean checkMergedInto) {
@@ -2802,8 +2802,8 @@ class ReceiveCommits {
} }
private class UpdateGroupsRequest { private class UpdateGroupsRequest {
private final PatchSet.Id psId; final PatchSet.Id psId;
private final RevCommit commit; final RevCommit commit;
List<String> groups = ImmutableList.of(); List<String> groups = ImmutableList.of();
UpdateGroupsRequest(Ref ref, RevCommit commit) { UpdateGroupsRequest(Ref ref, RevCommit commit) {
@@ -2838,7 +2838,7 @@ class ReceiveCommits {
} }
private class UpdateOneRefOp implements RepoOnlyOp { private class UpdateOneRefOp implements RepoOnlyOp {
private final ReceiveCommand cmd; final ReceiveCommand cmd;
private UpdateOneRefOp(ReceiveCommand cmd) { private UpdateOneRefOp(ReceiveCommand cmd) {
this.cmd = checkNotNull(cmd); this.cmd = checkNotNull(cmd);