diff options
author | Alex Blewitt | 2016-04-18 08:07:43 +0000 |
---|---|---|
committer | Alex Blewitt | 2016-04-18 22:15:05 +0000 |
commit | 809598db9dcc078cc4d7cffd4da3d0fc0b0716a3 (patch) | |
tree | e9d58143907e0396806f1f2170f4942db8c0c013 /core/org.eclipse.cdt.ui.tests/ui | |
parent | 135bdd42941dafc9afd3e00dbdad8c334d065dc2 (diff) | |
download | org.eclipse.cdt-809598db9dcc078cc4d7cffd4da3d0fc0b0716a3.tar.gz org.eclipse.cdt-809598db9dcc078cc4d7cffd4da3d0fc0b0716a3.tar.xz org.eclipse.cdt-809598db9dcc078cc4d7cffd4da3d0fc0b0716a3.zip |
Bug 491945 - Remove new String()
Occurrences of `new String()` have been replaced with the equivalent `""` and
additional NON-NLS tags have been inserted in where appropriate.
Change-Id: I54cf71dcd0d5a92a675a71166d66949533de502b
Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
Diffstat (limited to 'core/org.eclipse.cdt.ui.tests/ui')
-rw-r--r-- | core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/chelp/CHelpProviderTester.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/chelp/CHelpProviderTester.java b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/chelp/CHelpProviderTester.java index 64e7103a6b1..3fc47ad77a1 100644 --- a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/chelp/CHelpProviderTester.java +++ b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/chelp/CHelpProviderTester.java @@ -1,5 +1,5 @@ /********************************************************************** - * Copyright (c) 2004, 2012 Intel Corporation and others. + * Copyright (c) 2004, 2016 Intel Corporation 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 @@ -217,7 +217,7 @@ public class CHelpProviderTester{ private String getValueByKey(String key){ String val = fProperties.getProperty(key); if(val == null) - val = new String(); + val = ""; // $NON-NLS-1$ return val; } |