Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Blewitt2016-04-18 04:13:19 -0400
committerAlex Blewitt2016-04-18 18:30:05 -0400
commitca4e5b10eef5aa6132d4595a79327f230338df78 (patch)
treeafc01a8a0a456fcc252417b8161ba5019f4f0f96 /build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder
parent809598db9dcc078cc4d7cffd4da3d0fc0b0716a3 (diff)
downloadorg.eclipse.cdt-ca4e5b10eef5aa6132d4595a79327f230338df78.tar.gz
org.eclipse.cdt-ca4e5b10eef5aa6132d4595a79327f230338df78.tar.xz
org.eclipse.cdt-ca4e5b10eef5aa6132d4595a79327f230338df78.zip
Bug 491945 - Remove new String() literals
Occurrences of `new String("...")` have been replaced with a direct reference to the literal it was wrapping. Change-Id: Iefb49a009f210db59e5724e0a232dba2e13292b1 Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
Diffstat (limited to 'build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder')
-rw-r--r--build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/BuildStepsTab.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/BuildStepsTab.java b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/BuildStepsTab.java
index 886bcc323f..9854ca6213 100644
--- a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/BuildStepsTab.java
+++ b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/BuildStepsTab.java
@@ -61,12 +61,12 @@ public class BuildStepsTab extends AbstractCBuildPropertyTab {
private static final String label1 = Messages.BuildStepsTab_0;
private static final String label2 = Messages.BuildStepsTab_1;
private static final String PATH_SEPERATOR = ";"; //$NON-NLS-1$
- private static final String rcbsToolId = new String("org.eclipse.cdt.managedbuilder.ui.rcbs"); //$NON-NLS-1$
- private static final String rcbsToolName = new String("Resource Custom Build Step"); //$NON-NLS-1$
- private static final String rcbsToolInputTypeId = new String("org.eclipse.cdt.managedbuilder.ui.rcbs.inputtype"); //$NON-NLS-1$
- private static final String rcbsToolInputTypeName = new String("Resource Custom Build Step Input Type"); //$NON-NLS-1$
- private static final String rcbsToolOutputTypeId = new String("org.eclipse.cdt.managedbuilder.ui.rcbs.outputtype"); //$NON-NLS-1$
- private static final String rcbsToolOutputTypeName = new String("Resource Custom Build Step Output Type"); //$NON-NLS-1$
+ private static final String rcbsToolId = "org.eclipse.cdt.managedbuilder.ui.rcbs"; //$NON-NLS-1$
+ private static final String rcbsToolName = "Resource Custom Build Step"; //$NON-NLS-1$
+ private static final String rcbsToolInputTypeId = "org.eclipse.cdt.managedbuilder.ui.rcbs.inputtype"; //$NON-NLS-1$
+ private static final String rcbsToolInputTypeName = "Resource Custom Build Step Input Type"; //$NON-NLS-1$
+ private static final String rcbsToolOutputTypeId = "org.eclipse.cdt.managedbuilder.ui.rcbs.outputtype"; //$NON-NLS-1$
+ private static final String rcbsToolOutputTypeName = "Resource Custom Build Step Output Type"; //$NON-NLS-1$
private enum FIELD {PRECMD, PREANN, PSTCMD, PSTANN}
private Set<String> set1 = new TreeSet<String>();

Back to the top