in src/main/java/com/googlesource/gerrit/plugins/renameproject/RenameProject.java [148:152]
private void assertNewNameNotNull(Input input) throws BadRequestException {
if (input == null || Strings.isNullOrEmpty(input.name)) {
throw new BadRequestException("Name of the repo cannot be null or empty");
}
}