1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-11 18:25:40 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2013-08-13 18:54:36 -07:00
parent d543b29bc4
commit 7ae8b48608

View file

@ -10,16 +10,14 @@
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.internal.ui.editor; package org.eclipse.cdt.internal.ui.editor;
import com.ibm.icu.text.MessageFormat;
import java.util.MissingResourceException; import java.util.MissingResourceException;
import java.util.ResourceBundle; import java.util.ResourceBundle;
import com.ibm.icu.text.MessageFormat;
public class ConstructedCEditorMessages { public class ConstructedCEditorMessages {
private static final String RESOURCE_BUNDLE = "org.eclipse.cdt.internal.ui.editor.ConstructedCEditorMessages"; //$NON-NLS-1$ private static final String RESOURCE_BUNDLE = "org.eclipse.cdt.internal.ui.editor.ConstructedCEditorMessages"; //$NON-NLS-1$
private static ResourceBundle fgResourceBundle; private static ResourceBundle fgResourceBundle;
static { static {
try { try {
@ -29,11 +27,9 @@ public class ConstructedCEditorMessages {
} }
} }
private ConstructedCEditorMessages() { private ConstructedCEditorMessages() {
} }
public static ResourceBundle getResourceBundle() { public static ResourceBundle getResourceBundle() {
return fgResourceBundle; return fgResourceBundle;
} }
@ -61,7 +57,6 @@ public class ConstructedCEditorMessages {
public static String getFormattedString(String key, Object arg) { public static String getFormattedString(String key, Object arg) {
return MessageFormat.format(getString(key), new Object[] { arg } ); return MessageFormat.format(getString(key), new Object[] { arg } );
} }
} }