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=8d81c554173aadd24901c3b430850f4da0bd0c9a;hpb=0e10cd72dd03e30a7e1f56387982bbf51a2aebbe 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++) {