Skip to content

Commit

Permalink
formatting fixes in IntegrityRemotingServer class
Browse files Browse the repository at this point in the history
  • Loading branch information
S1artie committed Feb 27, 2019
1 parent f34319f commit 76c387f
Showing 1 changed file with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ public void sendTestTimeSyncResponse(TimeSyncResultMessage aResultMessage) {
serverEndpoint.broadcastMessage(aResultMessage);
}
}

/**
* Sends a fork result summary message.
*
Expand All @@ -268,9 +268,11 @@ public void sendTestTimeSyncResponse(TimeSyncResultMessage aResultMessage) {
* @param aCallExceptionCount
* the number of call exceptions in tests
*/
public void sendForkResultSummaryMessage(Integer aSuccessCount, Integer aFailureCount, Integer aTestExceptionCount, Integer aCallExceptionCount) {
if(serverEndpoint.isActive()) {
serverEndpoint.broadcastMessage(new ForkResultSummaryMessage(aSuccessCount, aFailureCount, aTestExceptionCount, aCallExceptionCount));
public void sendForkResultSummaryMessage(Integer aSuccessCount, Integer aFailureCount, Integer aTestExceptionCount,
Integer aCallExceptionCount) {
if (serverEndpoint.isActive()) {
serverEndpoint.broadcastMessage(new ForkResultSummaryMessage(aSuccessCount, aFailureCount,
aTestExceptionCount, aCallExceptionCount));
}
}

Expand All @@ -280,7 +282,8 @@ public void sendForkResultSummaryMessage(Integer aSuccessCount, Integer aFailure
* @return a map of message classes to processors
*/
protected Map<Class<? extends AbstractMessage>, MessageProcessor<?>> createProcessors() {
Map<Class<? extends AbstractMessage>, MessageProcessor<?>> tempMap = new HashMap<Class<? extends AbstractMessage>, MessageProcessor<?>>();
Map<Class<? extends AbstractMessage>, MessageProcessor<?>> tempMap
= new HashMap<Class<? extends AbstractMessage>, MessageProcessor<?>>();

tempMap.put(IntegrityRemotingVersionMessage.class, new MessageProcessor<IntegrityRemotingVersionMessage>() {

Expand Down

0 comments on commit 76c387f

Please sign in to comment.