Skip to content

Commit 6508c28

Browse files
committed
fix: deprecations
1 parent 27f1fdb commit 6508c28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/java_helper.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,9 @@ pub async fn consume(
195195
.expect("creating TopicPartition");
196196

197197
let partitions = jvm
198-
.create_java_list(
198+
.java_list(
199199
"org.apache.kafka.common.TopicPartition",
200-
&[InvocationArg::from(topic_partition)],
200+
vec![Ok(InvocationArg::from(topic_partition))],
201201
)
202202
.expect("creating partitions array");
203203

0 commit comments

Comments
 (0)