ArnicaLib

ArnicaLib

203k Downloads

[BUG] Wrong access flag of ListUtils.allIndexesOf method

lainio24 opened this issue ยท 0 comments

commented

Description

Access flag should be static.

public <T> int[] allIndexesOf(List<T> list, Predicate<T> predicate) {
return IntStream
.range(0, list.size())
.filter((i) -> predicate.test(list.get(i)))
.toArray();
}

Environment

latest

Reproduction steps

n/a

Expected behavior

Access flag should be static.

Relevant logs

No response