public class CorextMessages {
- private static final String BUNDLE_NAME= CorextMessages.class.getName();
+ private static final String BUNDLE_NAME = CorextMessages.class.getName();
- private static final ResourceBundle RESOURCE_BUNDLE =
- ResourceBundle.getBundle(BUNDLE_NAME);
+ private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle
+ .getBundle(BUNDLE_NAME);
private CorextMessages() {
}
return '!' + key + '!';
}
}
-
+
public static String getFormattedString(String key, Object arg) {
return getFormattedString(key, new Object[] { arg });
}
-
+
public static String getFormattedString(String key, Object[] args) {
- return MessageFormat.format(getString(key), args);
- }
+ return MessageFormat.format(getString(key), args);
+ }
}
\ No newline at end of file