Merge "Reduce usage of ProjectControl"

This commit is contained in:
Edwin Kempin
2017-08-30 09:41:04 +00:00
committed by Gerrit Code Review
37 changed files with 135 additions and 148 deletions

View File

@@ -147,7 +147,8 @@ public abstract class ProjectAccessHandler<T> extends Handler<T> {
setParent
.get()
.validateParentUpdate(
projectControl,
projectControl.getProject().getNameKey(),
projectControl.getUser().asIdentifiedUser(),
MoreObjects.firstNonNull(parentProjectName, allProjects).get(),
checkIfOwner);
} catch (AuthException e) {