Remove unused method in ContributorAgreement
Change-Id: Ie0c19e3007ed87e41376260d815197e1a415564b
This commit is contained in:
parent
93f021a9d0
commit
c8303767b1
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user