@@ -144,7 +144,8 @@ public StateMachine getStateMachine() {
144144 return this .fsmCaller .map (StateMachineCaller ::getStateMachine ).orElse (null );
145145 }
146146
147- @ Override public CompletableFuture <HeartBeatResponse > handleHeartBeat (HeartBeatRequest request ) throws Exception {
147+ @ Override
148+ public CompletableFuture <HeartBeatResponse > handleHeartBeat (HeartBeatRequest request ) throws Exception {
148149 try {
149150
150151 PreConditions .check (memberState .getSelfId ().equals (request .getRemoteId ()), DLedgerResponseCode .UNKNOWN_MEMBER , "%s != %s" , request .getRemoteId (), memberState .getSelfId ());
@@ -160,7 +161,8 @@ public StateMachine getStateMachine() {
160161 }
161162 }
162163
163- @ Override public CompletableFuture <VoteResponse > handleVote (VoteRequest request ) throws Exception {
164+ @ Override
165+ public CompletableFuture <VoteResponse > handleVote (VoteRequest request ) throws Exception {
164166 try {
165167 PreConditions .check (memberState .getSelfId ().equals (request .getRemoteId ()), DLedgerResponseCode .UNKNOWN_MEMBER , "%s != %s" , request .getRemoteId (), memberState .getSelfId ());
166168 PreConditions .check (memberState .getGroup ().equals (request .getGroup ()), DLedgerResponseCode .UNKNOWN_GROUP , "%s != %s" , request .getGroup (), memberState .getGroup ());
@@ -264,7 +266,8 @@ public CompletableFuture<GetEntriesResponse> handleGet(GetEntriesRequest request
264266 }
265267 }
266268
267- @ Override public CompletableFuture <MetadataResponse > handleMetadata (MetadataRequest request ) throws Exception {
269+ @ Override
270+ public CompletableFuture <MetadataResponse > handleMetadata (MetadataRequest request ) throws Exception {
268271 try {
269272 PreConditions .check (memberState .getSelfId ().equals (request .getRemoteId ()), DLedgerResponseCode .UNKNOWN_MEMBER , "%s != %s" , request .getRemoteId (), memberState .getSelfId ());
270273 PreConditions .check (memberState .getGroup ().equals (request .getGroup ()), DLedgerResponseCode .UNKNOWN_GROUP , "%s != %s" , request .getGroup (), memberState .getGroup ());
@@ -289,7 +292,8 @@ public CompletableFuture<PullEntriesResponse> handlePull(PullEntriesRequest requ
289292 return null ;
290293 }
291294
292- @ Override public CompletableFuture <PushEntryResponse > handlePush (PushEntryRequest request ) throws Exception {
295+ @ Override
296+ public CompletableFuture <PushEntryResponse > handlePush (PushEntryRequest request ) throws Exception {
293297 try {
294298 PreConditions .check (memberState .getSelfId ().equals (request .getRemoteId ()), DLedgerResponseCode .UNKNOWN_MEMBER , "%s != %s" , request .getRemoteId (), memberState .getSelfId ());
295299 PreConditions .check (memberState .getGroup ().equals (request .getGroup ()), DLedgerResponseCode .UNKNOWN_GROUP , "%s != %s" , request .getGroup (), memberState .getGroup ());
0 commit comments