1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 14:12:10 +02:00

Remove unnecessare NON-NLS.

Change-Id: I5ee2ee0c2fe784d1734dd48c653232ba9909f6bd
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
This commit is contained in:
Alexander Kurtakov 2018-02-08 18:50:28 +02:00
parent b50ba14831
commit 13f83967c4
5 changed files with 10 additions and 10 deletions

View file

@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2008, 2016 QNX Software Systems and others.
* Copyright (c) 2008, 2018 QNX Software Systems and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
@ -41,7 +41,7 @@ public class CEventBreakpoint extends CBreakpoint implements ICEventBreakpoint {
@Override
protected String getMarkerMessage() throws CoreException {
// default message, overridden by label provider, which would take care of translation
return "Event Breakpoint: " + getEventType(); //$NON-NLS-1$ //$NON-NLS-1$
return "Event Breakpoint: " + getEventType(); //$NON-NLS-1$
}
/**

View file

@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2005, 2016 QNX Software Systems and others.
* Copyright (c) 2005, 2018 QNX Software Systems 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
@ -102,7 +102,7 @@ public class CApplicationLaunchShortcut implements ILaunchShortcut2 {
IPath name = bin.getResource().getProjectRelativePath();
// don't match any launch config that is used for a Container launch
String connectionURI = config.getAttribute(CONNECTION_URI, (String)null);
if (connectionURI == null) { //$NON-NLS-1$
if (connectionURI == null) {
if (programPath != null && programPath.equals(name)) {
if (projectName != null && projectName.equals(bin.getCProject().getProject().getName())) {
candidateConfigs.add(config);

View file

@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2007, 2017 Wind River Systems and others.
* Copyright (c) 2007, 2018 Wind River Systems 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
@ -196,7 +196,7 @@ import com.ibm.icu.text.MessageFormat;
@SuppressWarnings("restriction")
public abstract class DisassemblyPart extends WorkbenchPart implements IDisassemblyPart, IViewportListener, ITextPresentationListener, IDisassemblyPartCallback {
final static boolean DEBUG = Boolean.parseBoolean(Platform.getDebugOption("org.eclipse.cdt.dsf.ui/debug/disassembly")); //$NON-NLS-1$//$NON-NLS-2$
final static boolean DEBUG = Boolean.parseBoolean(Platform.getDebugOption("org.eclipse.cdt.dsf.ui/debug/disassembly")); //$NON-NLS-1$
/**
* Annotation model attachment key for breakpoint annotations.

View file

@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2006, 2016 Wind River Systems and others.
* Copyright (c) 2006, 2018 Wind River Systems 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
@ -61,7 +61,7 @@ public class DsfUIPlugin extends AbstractUIPlugin {
public void start(BundleContext context) throws Exception {
fgBundleContext = context;
super.start(context);
DEBUG = Boolean.parseBoolean(Platform.getDebugOption("org.eclipse.cdt.dsf.ui/debug")); //$NON-NLS-1$//$NON-NLS-2$
DEBUG = Boolean.parseBoolean(Platform.getDebugOption("org.eclipse.cdt.dsf.ui/debug")); //$NON-NLS-1$
fSourceDocumentProvider = new SourceDocumentProvider();

View file

@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2007, 2016 Wind River Systems and others.
* Copyright (c) 2007, 2018 Wind River Systems 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
@ -128,7 +128,7 @@ public class VMChildrenUpdate extends VMViewerUpdate implements IChildrenUpdate
// trace our result
if (VMViewerUpdateTracing.DEBUG_VMUPDATES && !isCanceled() && VMViewerUpdateTracing.matchesFilterRegex(this.getClass())) {
StringBuilder str = new StringBuilder();
str.append(DsfPlugin.getDebugTime()).append(' ').append(LoggingUtils.toString(this)).append(" marked done; element = ").append(LoggingUtils.toString(getElement())); //$NON-NLS-1$ //$NON-NLS-2$
str.append(DsfPlugin.getDebugTime()).append(' ').append(LoggingUtils.toString(this)).append(" marked done; element = ").append(LoggingUtils.toString(getElement())); //$NON-NLS-1$
if (fElements != null && !fElements.isEmpty()) {
for (Object element : fElements) {
str.append(" ").append(LoggingUtils.toString(element)).append('\n'); //$NON-NLS-1$