Skip to content

Commit 7e0539a

Browse files
committed
Remove unused elementType
1 parent 21c5a6d commit 7e0539a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

core/trino-main/src/main/java/io/trino/operator/scalar/ArrayElementAtFunction.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
import io.trino.spi.function.SqlNullable;
2323
import io.trino.spi.function.SqlType;
2424
import io.trino.spi.function.TypeParameter;
25-
import io.trino.spi.type.Type;
2625

2726
import java.lang.invoke.MethodHandle;
2827

@@ -42,7 +41,6 @@ private ArrayElementAtFunction() {}
4241
@SqlNullable
4342
@SqlType("E")
4443
public static Object elementAt(
45-
@TypeParameter("E") Type elementType,
4644
@OperatorDependency(operator = READ_VALUE, argumentTypes = "E", convention = @Convention(arguments = BLOCK_POSITION_NOT_NULL, result = FAIL_ON_NULL)) MethodHandle readValue,
4745
@SqlType("array(E)") Block array,
4846
@SqlType("bigint") long index)

0 commit comments

Comments
 (0)