2023-05-14から1日間の記事一覧
oboe2uran.hatenablog.comメソッド名が良くないので書き直す。 public static String getMessage(String template, Object...obj) { Objects.requireNonNull(template); String s = template; Matcher m = Pattern.compile("\\{\\d+\\}").matcher(template);…
oboe2uran.hatenablog.comメソッド名が良くないので書き直す。 public static String getMessage(String template, Object...obj) { Objects.requireNonNull(template); String s = template; Matcher m = Pattern.compile("\\{\\d+\\}").matcher(template);…