From 8140dcd516e8e1f6045f4844c7b00714dfa2809b Mon Sep 17 00:00:00 2001 From: Vladimir Eliezer Tokarev Date: Fri, 18 Mar 2016 10:53:01 -0700 Subject: [PATCH] Changed the documentation of some files to document things that have changed since last commit. --- .../src/main/java/meerkat/VoterRegistry.java | 16 ++++++++-------- .../src/test/java/SimpleRegistryTest.java | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/voter-registry/src/main/java/meerkat/VoterRegistry.java b/voter-registry/src/main/java/meerkat/VoterRegistry.java index e5e1b3a..f1a5816 100644 --- a/voter-registry/src/main/java/meerkat/VoterRegistry.java +++ b/voter-registry/src/main/java/meerkat/VoterRegistry.java @@ -27,22 +27,22 @@ public interface VoterRegistry { /** * Adds new voter to the bulletin-board - * Passes true to callBack.handleResult if the actions succeeded else + * Passes true to callback.OnSuccess if the actions succeeded else * call the onFailure method of the callback with the arisen error * * @param voterInfo protobuff object that represents voter information - * @param callBack when the adding voter done callBack.handleResult will be called + * @param callBack when the adding voter done callback.OnSuccess will be called * @throws SignatureException */ void addVoter(VoterInfo voterInfo, FutureCallback callBack) throws SignatureException; /** * Adding given voter to given group - * Passes the group to callBack.handleResult if the actions succeeded else + * Passes the group to callback.OnSuccess if the actions succeeded else * call the onFailure method of the callback with the arisen error * * @param voterRegistryMessage protobuff object that is coupling of voterId to groupId - * @param callBack when the adding voter done callBack.handleResult will be called + * @param callBack when the adding voter done callback.OnSuccess will be called * @throws SignatureException * @throws IOException */ @@ -50,11 +50,11 @@ public interface VoterRegistry { /** * Sets that the voter have voted - * Passes true to callBack.handleResult if the actions succeeded else + * Passes true to callback.OnSuccess if the actions succeeded else * call the onFailure method of the callback with the arisen error * * @param voterId protobuff object that represent the voter that have voted - * @param callBack when the adding voter done callBack.handleResult will be called + * @param callBack when the adding voter done callback.OnSuccess will be called * @throws SignatureException */ void setVoted(VoterID voterId, FutureCallback callBack) throws SignatureException; @@ -65,7 +65,7 @@ public interface VoterRegistry { * call the onFailure method of the callback with the arisen error * * @param voterID protobuff object that represent the voter - * @param callBack when the adding voter done callBack.handleResult will be called + * @param callBack when the adding voter done callback.OnSuccess will be called */ void getGroups(VoterID voterID, FutureCallback> callBack); @@ -75,7 +75,7 @@ public interface VoterRegistry { * call the onFailure method of the callback with the arisen error * * @param voterID protobuff object that represent the voter - * @param callBack when the adding voter done callBack.handleResult will be called + * @param callBack when the adding voter done callback.OnSuccess will be called */ void getVoter(VoterID voterID, FutureCallback callBack); diff --git a/voter-registry/src/test/java/SimpleRegistryTest.java b/voter-registry/src/test/java/SimpleRegistryTest.java index 0a25aca..c239810 100644 --- a/voter-registry/src/test/java/SimpleRegistryTest.java +++ b/voter-registry/src/test/java/SimpleRegistryTest.java @@ -44,7 +44,7 @@ import static meerkat.util.BulletinBoardUtils.getLatestMessage; * NOTE: for most of this tests to pass there should run BulletinBoardServer * that should be reachable on BULLETIN_BOARD_SERVER_ADDRESS */ -public class SimpleRegistryTest /**extends TestCase**/ { +public class SimpleRegistryTest { private Collection signers; private AsyncBulletinBoardClient bulletinBoardClient;