[
https://issues.apache.org/jira/browse/RATIS-1903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze resolved RATIS-1903.
-------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
The pull request is now merged.
> 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
> Priority: Major
> Fix For: 3.0.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> {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)