mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Change 'break' to 'return' at end of switch.
This commit is contained in:
parent
f1693a6cf4
commit
c71ad8489c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user