Skip to content

Commit

Permalink
AMQ-9370 - Fix compatibility in test with java 8
Browse files Browse the repository at this point in the history
  • Loading branch information
cshannon committed Oct 24, 2023
1 parent 22442b2 commit 99998f3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import java.io.IOException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.apache.activemq.command.CommandTypes;
Expand All @@ -43,7 +44,7 @@ public class OpenWireValidationTest {

@Parameters(name = "version={0}")
public static Collection<Object[]> data() {
List<Integer> versions = List.of(1, 9, 10, 11, 12);
List<Integer> versions = Arrays.asList(1, 9, 10, 11, 12);
List<Object[]> versionObjs = new ArrayList<>();
for (int i : versions) {
versionObjs.add(new Object[]{i});
Expand Down

0 comments on commit 99998f3

Please sign in to comment.