Skip to content

Commit 0bccefd

Browse files
committed
Remove unused method
1 parent f46b9d2 commit 0bccefd

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

core/trino-spi/src/main/java/io/trino/spi/block/BlockUtil.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,6 @@ static void checkValidRegion(int positionCount, int positionOffset, int length)
5858
}
5959
}
6060

61-
static void checkValidPositions(boolean[] positions, int positionCount)
62-
{
63-
if (positions.length != positionCount) {
64-
throw new IllegalArgumentException(format("Invalid positions array size %d, actual position count is %d", positions.length, positionCount));
65-
}
66-
}
67-
6861
static void checkValidPosition(int position, int positionCount)
6962
{
7063
if (position < 0 || position >= positionCount) {

0 commit comments

Comments
 (0)