Skip to content

Commit

Permalink
Clean up varargs compilation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jhy committed Jan 2, 2025
1 parent 0391078 commit a908dc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/jsoup/examples/Wikipedia.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ public static void main(String[] args) throws IOException {
}

private static void log(String msg, String... vals) {
System.out.println(String.format(msg, vals));
System.out.println(String.format(msg, (Object[]) vals));
}
}

0 comments on commit a908dc9

Please # to comment.