This is an automated email from the ASF dual-hosted git repository. garydgregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-cli.git
commit b7e0a8d347e94563da9c9deef2ac1780f9f2ef3c Author: Gary Gregory <[email protected]> AuthorDate: Sun Jun 28 15:13:45 2026 +0000 Use variable arguments syntax. --- .../org/apache/commons/cli/example/XhtmlHelpAppendableTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/org/apache/commons/cli/example/XhtmlHelpAppendableTest.java b/src/test/java/org/apache/commons/cli/example/XhtmlHelpAppendableTest.java index db78ee24..808fce1f 100644 --- a/src/test/java/org/apache/commons/cli/example/XhtmlHelpAppendableTest.java +++ b/src/test/java/org/apache/commons/cli/example/XhtmlHelpAppendableTest.java @@ -85,9 +85,9 @@ class XhtmlHelpAppendableTest { final String[] headers = { "one", "two", "three" }; // @formatter:off final List<List<String>> rows = Arrays.asList( - Arrays.asList(new String[]{"uno", "dos", "tres"}), - Arrays.asList(new String[]{"aon", "dhá", "trí"}), - Arrays.asList(new String[]{"واحد", "اثنين", "ثلاثة"}) + Arrays.asList("uno", "dos", "tres"), + Arrays.asList("aon", "dhá", "trí"), + Arrays.asList("واحد", "اثنين", "ثلاثة") ); // @formatter:on List<String> expected = new ArrayList<>();
