Add serializer for LabelValue
This commit adds a serializer for the LabelValue entitiy. The eventual goal is that we serialize CachedProjectConfig. The entity is too large to be serialized directly, though, so we divide and conquer. This commit moves the AutoValue representation to the entities package to allow the serializer packages to keep its dependencies minimal. Change-Id: If04e7efb06cb8c53b995296e39194556a3d97dab
This commit is contained in:
@@ -19,7 +19,7 @@ import static com.google.gerrit.server.permissions.LabelPermission.ForUser.SELF;
|
||||
import static java.util.Objects.requireNonNull;
|
||||
|
||||
import com.google.gerrit.common.data.LabelType;
|
||||
import com.google.gerrit.common.data.LabelValue;
|
||||
import com.google.gerrit.entities.LabelValue;
|
||||
import com.google.gerrit.server.util.LabelVote;
|
||||
|
||||
/** Permission representing a label. */
|
||||
|
||||
Reference in New Issue
Block a user