commit | 9eb63345a129533aa88235af3ba9308c53cee1d2 | [log] [tgz] |
---|---|---|
author | Patrick Hiesel <hiesel@google.com> | Mon Jun 22 14:59:35 2020 +0200 |
committer | Patrick Hiesel <hiesel@google.com> | Mon Jun 22 15:08:50 2020 +0200 |
tree | 1b79c066606668bcfc567aba510e168d12227942 | |
parent | d04c4c33ad36e2e11ccc8b798357dd1e4e979a1a [diff] |
Adust to changes in Gerrit core Change-Id: Ic114e8b4c12a3d9c2474019d16b848ae2243f62f
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 f30d0a0..6babe86 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/singleusergroup/SingleUserGroup.java +++ b/src/main/java/com/googlesource/gerrit/plugins/singleusergroup/SingleUserGroup.java
@@ -158,7 +158,7 @@ private static GroupReference accountToGroup(AccountState s) { AccountGroup.UUID uuid = s.userName().isPresent() ? uuid(s.userName().get()) : uuid(s.account().id()); - return new GroupReference(uuid, nameOf(uuid, s)); + return GroupReference.create(uuid, nameOf(uuid, s)); } private static String username(AccountGroup.UUID uuid) {