forked from phoedos/pmd
Fix junit 5 warning
return type of factory method must be a collection or array or stream
This commit is contained in:
parent
79c0ce0415
commit
12f7f98803
@ -48,7 +48,7 @@ class AbstractNodeTest {
|
|||||||
return childIndexes;
|
return childIndexes;
|
||||||
}
|
}
|
||||||
|
|
||||||
static Object childrenAndGrandChildrenIndexes() {
|
static Object[] childrenAndGrandChildrenIndexes() {
|
||||||
final Integer[] childrenIndexes = childrenIndexes();
|
final Integer[] childrenIndexes = childrenIndexes();
|
||||||
final Integer[] grandChildrenIndexes = grandChildrenIndexes();
|
final Integer[] grandChildrenIndexes = grandChildrenIndexes();
|
||||||
final Object[] indexes = new Object[childrenIndexes.length * grandChildrenIndexes.length];
|
final Object[] indexes = new Object[childrenIndexes.length * grandChildrenIndexes.length];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user