Skip to content

Commit b7e0a8d

Browse files
committed
Use variable arguments syntax.
1 parent 2442fa4 commit b7e0a8d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/test/java/org/apache/commons/cli/example/XhtmlHelpAppendableTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ void testAppendTableTest() throws IOException {
8585
final String[] headers = { "one", "two", "three" };
8686
// @formatter:off
8787
final List<List<String>> rows = Arrays.asList(
88-
Arrays.asList(new String[]{"uno", "dos", "tres"}),
89-
Arrays.asList(new String[]{"aon", "dhá", "trí"}),
90-
Arrays.asList(new String[]{"واحد", "اثنين", "ثلاثة"})
88+
Arrays.asList("uno", "dos", "tres"),
89+
Arrays.asList("aon", "dhá", "trí"),
90+
Arrays.asList("واحد", "اثنين", "ثلاثة")
9191
);
9292
// @formatter:on
9393
List<String> expected = new ArrayList<>();

0 commit comments

Comments
 (0)