You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2023/10/14 17:26:00 UTC

[jira] [Resolved] (RATIS-1903) Fix parameter number warning in RaftClientRequest

     [ 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)