Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'releng.wtptools/api/org.eclipse.wtp.releng.tools.component.ui/src/org/eclipse/wtp/releng/tools/component/ui/Message.java')
-rw-r--r--releng.wtptools/api/org.eclipse.wtp.releng.tools.component.ui/src/org/eclipse/wtp/releng/tools/component/ui/Message.java42
1 files changed, 0 insertions, 42 deletions
diff --git a/releng.wtptools/api/org.eclipse.wtp.releng.tools.component.ui/src/org/eclipse/wtp/releng/tools/component/ui/Message.java b/releng.wtptools/api/org.eclipse.wtp.releng.tools.component.ui/src/org/eclipse/wtp/releng/tools/component/ui/Message.java
deleted file mode 100644
index 33d2e134a..000000000
--- a/releng.wtptools/api/org.eclipse.wtp.releng.tools.component.ui/src/org/eclipse/wtp/releng/tools/component/ui/Message.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.wtp.releng.tools.component.ui;
-
-import java.text.MessageFormat;
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
-
-public class Message
-{
- private static ResourceBundle bundle;
-
- public static String getMessage(String key)
- {
- if (bundle == null)
- {
- try
- {
- bundle = ResourceBundle.getBundle("org.eclipse.wtp.releng.tools.component.ui.component");
- }
- catch (MissingResourceException e)
- {
- return key;
- }
- }
- return bundle.getString(key);
- }
-
- public static String getMessage(String key, String[] subsitutes)
- {
- return MessageFormat.format(getMessage(key), subsitutes);
- }
-} \ No newline at end of file

Back to the top