diff options
author | Alex Blewitt | 2016-04-23 14:33:27 +0000 |
---|---|---|
committer | Alex Blewitt | 2016-04-25 21:53:30 +0000 |
commit | 12904409a3d93f4ef47fb40c47b44eb6c4ead01b (patch) | |
tree | d0ff3ca029709f6c925bcc3f08f9b18e2d9397a4 /debug/org.eclipse.cdt.debug.core | |
parent | b2db3a489c2e367718f93db7060b8e8c0b2c05a2 (diff) | |
download | org.eclipse.cdt-12904409a3d93f4ef47fb40c47b44eb6c4ead01b.tar.gz org.eclipse.cdt-12904409a3d93f4ef47fb40c47b44eb6c4ead01b.tar.xz org.eclipse.cdt-12904409a3d93f4ef47fb40c47b44eb6c4ead01b.zip |
Bug 492304 - Fix NLS warnings
Eclipse warns if a String literal does not have a `//$NON-NLS-<n>$`
entry at the end of the line. However, for historic or formatting
reasons, many such occurrences in the CDT source have an intermediate
whitespace, such as `// $NON-NLS-<n>$`
Fix these so that the whitespace is removed between the // and $
characters.
Change-Id: Idc12398fe6e9d619af1d0b1b73fb8b6180da223c
Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
Diffstat (limited to 'debug/org.eclipse.cdt.debug.core')
-rw-r--r-- | debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CEventBreakpoint.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CEventBreakpoint.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CEventBreakpoint.java index bb634b9ef45..9cfc33d4328 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CEventBreakpoint.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CEventBreakpoint.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2008, 2012 QNX Software Systems and others. + * Copyright (c) 2008, 2016 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$ //$NON-NLS-1$ } /** |