Remove unused method in ContributorAgreement

Change-Id: Ie0c19e3007ed87e41376260d815197e1a415564b
This commit is contained in:
Patrick Hiesel 2018-10-15 09:21:34 +02:00 committed by David Pursehouse
parent 93f021a9d0
commit c8303767b1
1 changed files with 0 additions and 12 deletions

View File

@ -16,7 +16,6 @@ package com.google.gerrit.common.data;
import com.google.gerrit.reviewdb.client.Project;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/** Portion of a {@link Project} describing a single contributor agreement. */
@ -85,15 +84,4 @@ public class ContributorAgreement implements Comparable<ContributorAgreement> {
public String toString() {
return "ContributorAgreement[" + getName() + "]";
}
public ContributorAgreement forUi() {
ContributorAgreement ca = new ContributorAgreement(name);
ca.description = description;
ca.accepted = Collections.emptyList();
if (autoVerify != null) {
ca.autoVerify = new GroupReference();
}
ca.agreementUrl = agreementUrl;
return ca;
}
}