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 /toolchains/arduino/org.eclipse.cdt.arduino.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 'toolchains/arduino/org.eclipse.cdt.arduino.core')
-rw-r--r-- | toolchains/arduino/org.eclipse.cdt.arduino.core/src/org/eclipse/cdt/arduino/core/internal/board/ArduinoTool.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolchains/arduino/org.eclipse.cdt.arduino.core/src/org/eclipse/cdt/arduino/core/internal/board/ArduinoTool.java b/toolchains/arduino/org.eclipse.cdt.arduino.core/src/org/eclipse/cdt/arduino/core/internal/board/ArduinoTool.java index f39f030da42..5361b1d7727 100644 --- a/toolchains/arduino/org.eclipse.cdt.arduino.core/src/org/eclipse/cdt/arduino/core/internal/board/ArduinoTool.java +++ b/toolchains/arduino/org.eclipse.cdt.arduino.core/src/org/eclipse/cdt/arduino/core/internal/board/ArduinoTool.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2015 QNX Software Systems and others. + * Copyright (c) 2015, 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 * which accompanies this distribution, and is available at @@ -95,9 +95,9 @@ public class ArduinoTool { public Properties getToolProperties() { Properties properties = new Properties(); - properties.put("runtime.tools." + name + ".path", ArduinoBuildConfiguration.pathString(getInstallPath())); // $NON-NLS-1$ //$NON-NLS-1$//$NON-NLS-2$ + properties.put("runtime.tools." + name + ".path", ArduinoBuildConfiguration.pathString(getInstallPath())); //$NON-NLS-1$ //$NON-NLS-1$//$NON-NLS-2$ properties.put("runtime.tools." + name + '-' + version + ".path", //$NON-NLS-1$//$NON-NLS-2$ - ArduinoBuildConfiguration.pathString(getInstallPath())); // $NON-NLS-1$ + ArduinoBuildConfiguration.pathString(getInstallPath())); //$NON-NLS-1$ return properties; } |