CreateProject: Add @UsedAt annotation
Change-Id: I541843900f2dd3ca8908369f871be3ac243f544a
This commit is contained in:
parent
658978f2c9
commit
27ca7c61e9
@ -47,6 +47,7 @@ import com.google.gerrit.reviewdb.client.Project;
|
||||
import com.google.gerrit.reviewdb.client.RefNames;
|
||||
import com.google.gerrit.server.GerritPersonIdent;
|
||||
import com.google.gerrit.server.IdentifiedUser;
|
||||
import com.google.gerrit.server.UsedAt;
|
||||
import com.google.gerrit.server.account.GroupBackend;
|
||||
import com.google.gerrit.server.config.AllProjectsName;
|
||||
import com.google.gerrit.server.config.AllUsersName;
|
||||
@ -240,7 +241,7 @@ public class CreateProject
|
||||
}
|
||||
}
|
||||
|
||||
// TODO(dpursehouse): Add @UsedAt annotation
|
||||
@UsedAt(UsedAt.Project.COLLABNET)
|
||||
public ProjectState createProject(CreateProjectArgs args)
|
||||
throws BadRequestException, ResourceConflictException, IOException, ConfigInvalidException {
|
||||
final Project.NameKey nameKey = args.getProject();
|
||||
|
Loading…
Reference in New Issue
Block a user