X-Git-Url: https://code.wpia.club/?p=gigi.git;a=blobdiff_plain;f=src%2Forg%2Fcacert%2Fgigi%2Foutput%2Ftemplate%2FSprintfCommand.java;h=51ea9cf209c16531a2637837c5410057aee9e011;hp=006155d2ffdd6f12836aa639506cff4e423a0407;hb=d23d7a6fa9dc38c6193fea70017e0bff11257be5;hpb=63a050b637aef27c32d84a2a62b91cd4b8276398 diff --git a/src/org/cacert/gigi/output/template/SprintfCommand.java b/src/org/cacert/gigi/output/template/SprintfCommand.java index 006155d2..51ea9cf2 100644 --- a/src/org/cacert/gigi/output/template/SprintfCommand.java +++ b/src/org/cacert/gigi/output/template/SprintfCommand.java @@ -111,7 +111,7 @@ public final class SprintfCommand implements Translatable { * the variables to put into the placeholders. * @return the constructed {@link Outputable}. */ - public static Outputable createSimple(String msg, String... vars) { + public static Outputable createSimple(String msg, Object... vars) { HashMap scope = new HashMap<>(); String[] store = new String[vars.length]; for (int i = 0; i < vars.length; i++) {