diff --git a/voter-registry/src/main/java/meerkat/SimpleRegistry.java b/voter-registry/src/main/java/meerkat/SimpleRegistry.java index 1cd6af1..22874fa 100644 --- a/voter-registry/src/main/java/meerkat/SimpleRegistry.java +++ b/voter-registry/src/main/java/meerkat/SimpleRegistry.java @@ -47,7 +47,7 @@ public class SimpleRegistry implements VoterRegistry{ * @param basicMessage BasicMessage * @return BulletinBoardMessage */ - private BulletinBoardMessage CreateBulletinBoardMessage(UnsignedBulletinBoardMessage basicMessage) { + protected BulletinBoardMessage CreateBulletinBoardMessage(UnsignedBulletinBoardMessage basicMessage) { try { BulletinBoardMessage.Builder bulletinBoardMessage = BulletinBoardMessage.newBuilder(); @@ -101,7 +101,7 @@ public class SimpleRegistry implements VoterRegistry{ } public void GetGroups(GroupID groupID, RegistryCallBack callback) { - List GroupsActionsTags = new ArrayList() {{ + List GroupsActionsTags = new ArrayList(2) {{ add(RegistryTags.GROUP_ID_TAG + groupID.getId()); }}; bulletinBoardClient.readMessages(CollectionMessagesUtils.GenerateFiltersFromTags(GroupsActionsTags),