Tsz-wo Sze created RATIS-1903:
---------------------------------
Summary: Fix parameter number warning in RaftClientRequest
Key: RATIS-1903
URL: https://issues.apache.org/jira/browse/RATIS-1903
Project: Ratis
Issue Type: Improvement
Components: client
Reporter: Tsz-wo Sze
Assignee: Tsz-wo Sze
{code}
@SuppressWarnings("parameternumber")
private RaftClientRequest(
ClientId clientId, RaftPeerId serverId, RaftGroupId groupId,
long callId, boolean toLeader, Message message, Type type,
SlidingWindowEntry slidingWindowEntry,
RoutingTable routingTable, long timeoutMs) {
...
}
{code}
We may simply pass a Builder as a parameter.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)