]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/output/template/SprintfCommand.java
upd: Reduce Boilerplate in translated SprintfCommands
[gigi.git] / src / org / cacert / gigi / output / template / SprintfCommand.java
index 006155d2ffdd6f12836aa639506cff4e423a0407..51ea9cf209c16531a2637837c5410057aee9e011 100644 (file)
@@ -111,7 +111,7 @@ public final class SprintfCommand implements Translatable {
      *            the variables to put into the placeholders.
      * @return the constructed {@link Outputable}.
      */
      *            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<String, Object> scope = new HashMap<>();
         String[] store = new String[vars.length];
         for (int i = 0; i < vars.length; i++) {
         HashMap<String, Object> scope = new HashMap<>();
         String[] store = new String[vars.length];
         for (int i = 0; i < vars.length; i++) {