Adapt to Account.Id refactoring Change-Id: I669286591fe58b9589ed73d89af660f19e319b00
diff --git a/src/main/java/com/googlesource/gerrit/plugins/singleusergroup/SingleUserGroup.java b/src/main/java/com/googlesource/gerrit/plugins/singleusergroup/SingleUserGroup.java index 93daf4d..6234098 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/singleusergroup/SingleUserGroup.java +++ b/src/main/java/com/googlesource/gerrit/plugins/singleusergroup/SingleUserGroup.java
@@ -105,7 +105,7 @@ String ident = username(uuid); Optional<AccountState> state; if (ident.matches(ACCOUNT_ID_PATTERN)) { - state = accountCache.get(new Account.Id(Integer.parseInt(ident))); + state = accountCache.get(Account.id(Integer.parseInt(ident))); } else if (ExternalId.isValidUsername(ident)) { state = accountCache.getByUsername(ident); } else {