We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c8f5c6a + ac986b5 commit 14ac63fCopy full SHA for 14ac63f
config/src/main/java/ru/qatools/gridrouter/config/RandomHostSelectionStrategy.java
@@ -11,7 +11,7 @@
11
*/
12
public class RandomHostSelectionStrategy implements HostSelectionStrategy {
13
14
- <T extends WithCount> T selectRandom(List<T> elements) {
+ protected <T extends WithCount> T selectRandom(List<T> elements) {
15
List<T> copies = new ArrayList<>();
16
for (T element : elements) {
17
copies.addAll(nCopies(element.getCount(), element));
0 commit comments