Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-1903

Fix parameter number warning in RaftClientRequest

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • client
    • None

    Description

        @SuppressWarnings("parameternumber")
        private RaftClientRequest(
            ClientId clientId, RaftPeerId serverId, RaftGroupId groupId,
            long callId, boolean toLeader, Message message, Type type, SlidingWindowEntry slidingWindowEntry,
            RoutingTable routingTable, long timeoutMs) {
          ...
        }
      

      We may simply pass a Builder as a parameter.

      Attachments

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h