diff --git a/gerrit-common/src/main/java/com/google/gerrit/common/data/ContributorAgreement.java b/gerrit-common/src/main/java/com/google/gerrit/common/data/ContributorAgreement.java index 2f8755e00e..b43dbfaed1 100644 --- a/gerrit-common/src/main/java/com/google/gerrit/common/data/ContributorAgreement.java +++ b/gerrit-common/src/main/java/com/google/gerrit/common/data/ContributorAgreement.java @@ -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 { 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; - } }