mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-25 07:27:18 +01:00
Codacy requires default label in switch
This commit is contained in:
parent
d9ece9f5ba
commit
f3761530b5
1 changed files with 4 additions and 0 deletions
|
@ -100,6 +100,10 @@ class CoreDisputeAgentsService {
|
||||||
signature = refundAgentManager.signStorageSignaturePubKey(Objects.requireNonNull(ecKey));
|
signature = refundAgentManager.signStorageSignaturePubKey(Objects.requireNonNull(ecKey));
|
||||||
registerRefundAgent(nodeAddress, languageCodes, ecKey, signature);
|
registerRefundAgent(nodeAddress, languageCodes, ecKey, signature);
|
||||||
return;
|
return;
|
||||||
|
default:
|
||||||
|
// Codacy requires default label in switch, Intellij does not.
|
||||||
|
//noinspection UnnecessaryReturnStatement
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException("unknown dispute agent type " + disputeAgentTypeString);
|
throw new IllegalArgumentException("unknown dispute agent type " + disputeAgentTypeString);
|
||||||
|
|
Loading…
Add table
Reference in a new issue