Skip to content

Commit 5962e08

Browse files
committed
fix compile
1 parent 8e3c0ce commit 5962e08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/index/codec/vectors/reflect/AssertingKnnVectorsReaderReflect.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ private static MethodHandle getDelegateFieldHandle() {
5050
if (cls == null) {
5151
return MethodHandles.throwException(KnnVectorsReader.class, AssertionError.class);
5252
}
53-
var lookup = MethodHandles.privateLookupIn((cls, MethodHandles.lookup());
53+
var lookup = MethodHandles.privateLookupIn(cls, MethodHandles.lookup());
5454
return lookup.findGetter(cls, "delegate", KnnVectorsReader.class);
5555
} catch (ReflectiveOperationException e) {
5656
throw new AssertionError(e);

0 commit comments

Comments
 (0)