Skip to content

Commit

Permalink
Fix varargs warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmudd committed Nov 25, 2024
1 parent dd7411b commit 5668723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jhdf/src/test/java/io/jhdf/writing/StringWritingTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ void writeStrings() throws Exception {
assertThat(datasets).hasSize(4);

String[] proseReadBackArray = (String[]) hdfFile.getDatasetByPath("prose").getData();
String proseReadback = StringUtils.joinWith(" ", proseReadBackArray);
String proseReadback = StringUtils.joinWith(" ", (Object[]) proseReadBackArray);
assertThat(proseReadback).isEqualTo(prose);

// Just check thw whole file is readable
Expand Down

0 comments on commit 5668723

Please sign in to comment.