Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVivian Kong2012-08-28 20:28:37 +0000
committerVivian Kong2012-08-28 20:28:37 +0000
commit394c911d7b9882c89b5cf1ad28897f934e007f9e (patch)
tree7dc5fc4f56a79c05a3c17136e9147c07d9ac1dde
parentf6cd60e5e0bc897e91fa895e1a146efa5decf4b0 (diff)
downloadorg.eclipse.cdt-394c911d7b9882c89b5cf1ad28897f934e007f9e.tar.gz
org.eclipse.cdt-394c911d7b9882c89b5cf1ad28897f934e007f9e.tar.xz
org.eclipse.cdt-394c911d7b9882c89b5cf1ad28897f934e007f9e.zip
Revert "Bug 387191 - ARA: Incorrect mirrored strings occurred on panels of right click menu selection of Invoke Autotools"
-rw-r--r--build/org.eclipse.cdt.autotools.ui/src/org/eclipse/cdt/internal/autotools/ui/actions/InvokeMessages.java9
1 files changed, 3 insertions, 6 deletions
diff --git a/build/org.eclipse.cdt.autotools.ui/src/org/eclipse/cdt/internal/autotools/ui/actions/InvokeMessages.java b/build/org.eclipse.cdt.autotools.ui/src/org/eclipse/cdt/internal/autotools/ui/actions/InvokeMessages.java
index 5e73d199652..dae5f1d055b 100644
--- a/build/org.eclipse.cdt.autotools.ui/src/org/eclipse/cdt/internal/autotools/ui/actions/InvokeMessages.java
+++ b/build/org.eclipse.cdt.autotools.ui/src/org/eclipse/cdt/internal/autotools/ui/actions/InvokeMessages.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2006, 2012 Red Hat Inc..
+ * Copyright (c) 2006, 2007, 2009 Red Hat Inc..
* 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
@@ -7,7 +7,6 @@
*
* Contributors:
* Red Hat Incorporated - initial API and implementation
- * IBM Corporation
*******************************************************************************/
package org.eclipse.cdt.internal.autotools.ui.actions;
@@ -15,8 +14,6 @@ import java.text.MessageFormat;
import java.util.MissingResourceException;
import java.util.ResourceBundle;
-import org.eclipse.osgi.util.TextProcessor;
-
public class InvokeMessages {
private static final String BUNDLE_NAME = InvokeMessages.class.getName();
@@ -35,7 +32,7 @@ public class InvokeMessages {
*/
public static String getString(String key) {
try {
- return TextProcessor.process(RESOURCE_BUNDLE.getString(key));
+ return RESOURCE_BUNDLE.getString(key);
} catch (MissingResourceException e) {
return '!' + key + '!';
}
@@ -50,7 +47,7 @@ public class InvokeMessages {
* @return the resource bundle message
*/
public static String getFormattedString(String key, String[] args) {
- return TextProcessor.process(MessageFormat.format(getString(key), (Object[])args));
+ return MessageFormat.format(getString(key), (Object[])args);
}
}

Back to the top