mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 15:10:44 +01:00
Ignore codacy complaint about (dead) default switch labels
This commit is contained in:
parent
631c3f4f12
commit
033271189f
1 changed files with 0 additions and 5 deletions
|
@ -99,11 +99,6 @@ class CoreDisputeAgentsService {
|
|||
ecKey = refundAgentManager.getRegistrationKey(registrationKey);
|
||||
signature = refundAgentManager.signStorageSignaturePubKey(Objects.requireNonNull(ecKey));
|
||||
registerRefundAgent(nodeAddress, languageCodes, ecKey, signature);
|
||||
return;
|
||||
default:
|
||||
// Codacy requires default label in switch, Intellij does not.
|
||||
//noinspection UnnecessaryReturnStatement
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
throw new IllegalArgumentException("unknown dispute agent type " + disputeAgentTypeString);
|
||||
|
|
Loading…
Add table
Reference in a new issue