X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/PHPUIMessages.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/PHPUIMessages.java index 230c36a..76a0bd8 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/PHPUIMessages.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/PHPUIMessages.java @@ -12,7 +12,8 @@ public class PHPUIMessages { private static final String RESOURCE_BUNDLE = PHPUIMessages.class.getName();//$NON-NLS-1$ - private static ResourceBundle fgResourceBundle= ResourceBundle.getBundle(RESOURCE_BUNDLE); + private static ResourceBundle fgResourceBundle = ResourceBundle + .getBundle(RESOURCE_BUNDLE); private PHPUIMessages() { } @@ -24,13 +25,13 @@ public class PHPUIMessages { return '!' + key + '!'; } } - + public static String getFormattedString(String key, String arg) { return getFormattedString(key, new String[] { arg }); } - + public static String getFormattedString(String key, String[] args) { - return MessageFormat.format(getString(key), args); - } - + return MessageFormat.format(getString(key), args); + } + }