X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/textmanipulation/TextManipulationMessages.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/textmanipulation/TextManipulationMessages.java index 3857db1..49242d6 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/textmanipulation/TextManipulationMessages.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/textmanipulation/TextManipulationMessages.java @@ -16,9 +16,10 @@ import java.util.ResourceBundle; public class TextManipulationMessages { - private static final String BUNDLE_NAME= "net.sourceforge.phpdt.internal.corext.textmanipulation.Messages"; //$NON-NLS-1$ + private static final String BUNDLE_NAME = "net.sourceforge.phpdt.internal.corext.textmanipulation.Messages"; //$NON-NLS-1$ - private static final ResourceBundle RESOURCE_BUNDLE= ResourceBundle.getBundle(BUNDLE_NAME); + private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle + .getBundle(BUNDLE_NAME); private TextManipulationMessages() { } @@ -30,12 +31,12 @@ public class TextManipulationMessages { 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