Change 'break' to 'return' at end of switch.

This commit is contained in:
ghubstan 2020-10-02 17:57:31 -03:00
parent f1693a6cf4
commit c71ad8489c
No known key found for this signature in database
GPG Key ID: E35592D6800A861E

View File

@ -99,7 +99,7 @@ class CoreDisputeAgentsService {
ecKey = refundAgentManager.getRegistrationKey(registrationKey);
signature = refundAgentManager.signStorageSignaturePubKey(Objects.requireNonNull(ecKey));
registerRefundAgent(nodeAddress, languageCodes, ecKey, signature);
break;
return;
}
} else {
throw new IllegalArgumentException("unknown dispute agent type " + disputeAgentTypeString);