package org.rubypeople.rdt.internal.corext.util; import java.text.MessageFormat; /** * Helper class to format message strings. * * @since 0.8.0 */ public class Messages { public static String format(String message, Object object) { return MessageFormat.format(message, new Object[] { object}); } public static String format(String message, Object[] objects) { return MessageFormat.format(message, objects); } private Messages() { // Not for instantiation } }