dajac opened a new pull request, #24042:
URL: https://github.com/apache/kafka/pull/24042

   `ProcessState` has several methods that only `ProcessStateTest`
   calls, and `computeLoad` is public although only the class itself
   calls it.
   
   This patch removes `capacity`, `hasCapacity`, `compareTo`,
   `assignedActiveTasks`, `assignedStandbyTasks` and `assignedTasks`,
   makes `computeLoad` private, and adapts `ProcessStateTest` to assert
   through `load`, `assignedActiveTasksByMember`,
   `assignedStandbyTasksByMember` and `hasTask`.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to