public static String format(String source, Object... parameters) {
        String current = source;
        for (Object parameter : parameters) {
            if (!current.contains("{}")) {
                return current;
            }
            current = current.replaceFirst("\\{\\}", String.valueOf(parameter));
        }
        return current;
    }
@Test
    public void testFormatMissingBracket() {
        String fmt = "Some string 1 2 3";
        assertEquals("Some string 1 2 3", format(fmt, 7));
    }