diff options
Diffstat (limited to 'dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/LaunchMessages.java')
-rw-r--r-- | dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/LaunchMessages.java | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/LaunchMessages.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/LaunchMessages.java index c092d1c0d3a..348fecdbf97 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/LaunchMessages.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/LaunchMessages.java @@ -26,24 +26,26 @@ public class LaunchMessages { private static ResourceBundle RESOURCE_BUNDLE = null; static { - try { - RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME); - } catch (MissingResourceException x) { - } + try { + RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME); + } catch (MissingResourceException x) { + } } - private LaunchMessages() {} + private LaunchMessages() { + } public static String getFormattedString(String key, String arg) { return MessageFormat.format(getString(key), arg); } public static String getFormattedString(String key, String[] args) { - return MessageFormat.format(getString(key), (Object[])args); + return MessageFormat.format(getString(key), (Object[]) args); } public static String getString(String key) { - if (RESOURCE_BUNDLE == null) return '!' + key + '!'; + if (RESOURCE_BUNDLE == null) + return '!' + key + '!'; return RESOURCE_BUNDLE.getString(key); } } |