Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Blewitt2016-04-18 08:07:43 +0000
committerAlex Blewitt2016-04-18 22:15:05 +0000
commit809598db9dcc078cc4d7cffd4da3d0fc0b0716a3 (patch)
treee9d58143907e0396806f1f2170f4942db8c0c013 /core/org.eclipse.cdt.ui.tests/ui
parent135bdd42941dafc9afd3e00dbdad8c334d065dc2 (diff)
downloadorg.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.java4
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;
}

Back to the top