From 311d1e8e8ea21f3bc1eeab43a6fb7c6d64a57ee5 Mon Sep 17 00:00:00 2001 From: Vladimir Eliezer Tokarev Date: Sat, 27 Feb 2016 03:55:45 -0800 Subject: [PATCH] Removed the voterRegistryMessage and swaped the usage of it to BulletinBoardMessage --- voter-registry/src/main/java/meerkat/SimpleRegistry.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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),