Convert AccountGroup.UUID to AutoValue
Adapt GroupReference to avoid an AccountGroup.UUID with a null value. See I6982fb24 for context. Change-Id: I26c460304eed8ffa77ba65b712ed4ffb73974286
This commit is contained in:
@@ -53,7 +53,7 @@ public class AccountGroupUUIDHandler extends OptionHandler<AccountGroup.UUID> {
|
||||
@Override
|
||||
public final int parseArguments(Parameters params) throws CmdLineException {
|
||||
final String n = params.getParameter(0);
|
||||
AccountGroup.UUID uuid = new AccountGroup.UUID(n);
|
||||
AccountGroup.UUID uuid = AccountGroup.uuid(n);
|
||||
if (groupBackend.handles(uuid)) {
|
||||
GroupDescription.Basic d = groupBackend.get(uuid);
|
||||
if (d != null) {
|
||||
|
||||
Reference in New Issue
Block a user