1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 01:15:29 +02:00

Missing NON-NLS strings

Change-Id: Ia177b5ded46b3d6292af3e41951165c9d26b57cc
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
This commit is contained in:
Marc Khouzam 2014-04-09 15:31:42 -04:00
parent 99df1091ec
commit 0ddab334f0
5 changed files with 6 additions and 6 deletions

View file

@ -198,6 +198,6 @@ public class WordPartDetector {
}
private boolean isMakefileLetter(char c) {
return Character.isLetterOrDigit(c) || "_-.@%<?^+|*".indexOf(c) >= 0;
return Character.isLetterOrDigit(c) || "_-.@%<?^+|*".indexOf(c) >= 0; //$NON-NLS-1$
}
}

View file

@ -176,7 +176,7 @@ public class ScannerConfigBuilder extends ACBuilder {
if (vars[i] != null
&& vars[i].getName() != null) {
String value = vars[i].getValue();
envProps.setProperty(vars[i].getName(), value == null ? "" : value);
envProps.setProperty(vars[i].getName(), value == null ? "" : value); //$NON-NLS-1$
}
}

View file

@ -112,7 +112,7 @@ public abstract class AbstractCodanProblemDetailsProvider {
String message = escapeForLink(getProblemMessage());
String href = getLocationHRef();
String link = getLocation();
return "<a href=\"" + href + "\">" + link + "</a> \n" + message + "\n"; //$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$
return "<a href=\"" + href + "\">" + link + "</a> \n" + message + "\n"; //$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
}
protected String getLocationHRef() {

View file

@ -853,7 +853,7 @@ abstract public class AbstractCLaunchDelegate extends LaunchConfigurationDelegat
}
Status status = new Status(IStatus.ERROR,getPluginID(),
ICDTLaunchConfigurationConstants.ERR_PROGRAM_NOT_BINARY,
LaunchMessages.AbstractCLaunchDelegate_Program_is_not_a_recognized_executable + " " + exePath.toOSString(),
LaunchMessages.AbstractCLaunchDelegate_Program_is_not_a_recognized_executable + " " + exePath.toOSString(), //$NON-NLS-1$
exception);
throw new CoreException(status);
}

View file

@ -213,7 +213,7 @@ public class CDebuggerTab extends AbstractCDebuggerTab {
if (selection.equals("")) { //$NON-NLS-1$
ICDebugConfiguration dc = CDebugCorePlugin.getDefault().getDefaultDebugConfiguration();
if (dc == null) {
CDebugCorePlugin.getDefault().saveDefaultDebugConfiguration("org.eclipse.cdt.debug.mi.core.CDebuggerNew");
CDebugCorePlugin.getDefault().saveDefaultDebugConfiguration("org.eclipse.cdt.debug.mi.core.CDebuggerNew"); //$NON-NLS-1$
dc = CDebugCorePlugin.getDefault().getDefaultDebugConfiguration();
}
if (dc != null)
@ -263,7 +263,7 @@ public class CDebuggerTab extends AbstractCDebuggerTab {
// Set the default debugger based on the active toolchain on the project (if possible)
String defaultDebugger = null;
try {
String projectName = config.getAttribute(ICDTLaunchConfigurationConstants.ATTR_PROJECT_NAME, "");
String projectName = config.getAttribute(ICDTLaunchConfigurationConstants.ATTR_PROJECT_NAME, ""); //$NON-NLS-1$
if (projectName.length() > 0) {
IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(projectName);
ICProjectDescription projDesc = CoreModel.getDefault().getProjectDescription(project);