diff --git a/src/main/java/org/openrewrite/java/testing/jmockit/JMockitBlockRewriter.java b/src/main/java/org/openrewrite/java/testing/jmockit/JMockitBlockRewriter.java index 9b0db27ec..bab058e90 100644 --- a/src/main/java/org/openrewrite/java/testing/jmockit/JMockitBlockRewriter.java +++ b/src/main/java/org/openrewrite/java/testing/jmockit/JMockitBlockRewriter.java @@ -267,7 +267,7 @@ private void rewriteFullVerify(List mocks) { } } - private void rewriteInOrderVerify(ArrayList mocks) { + private void rewriteInOrderVerify(List mocks) { if (!mocks.isEmpty()) { StringBuilder sb = new StringBuilder(VERIFY_IN_ORDER_TEMPLATE_PREFIX); mocks.forEach(mock -> sb.append(ANY_TEMPLATE_FIELD).append(", ")); // InOrder inOrder = inOrder(mock1, mock2 ...