Skip to main content
summaryrefslogtreecommitdiffstats
path: root/dsf
diff options
context:
space:
mode:
authorAlex Blewitt2016-04-18 04:07:43 -0400
committerAlex Blewitt2016-04-18 18:15:05 -0400
commit809598db9dcc078cc4d7cffd4da3d0fc0b0716a3 (patch)
treee9d58143907e0396806f1f2170f4942db8c0c013 /dsf
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 'dsf')
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/viewmodel/VMDelta.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/viewmodel/VMDelta.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/viewmodel/VMDelta.java
index b071beab1e..1c31dd4e5a 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/viewmodel/VMDelta.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/viewmodel/VMDelta.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2005, 2011 IBM Corporation and others.
+ * Copyright (c) 2005, 2016 IBM 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
@@ -280,7 +280,7 @@ public class VMDelta extends ModelDelta {
}
private void appendDetail(StringBuilder buf, VMDelta delta, int depth) {
- String indent = new String();
+ String indent = ""; // $NON-NLS-1$
for (int i = 0; i < depth; i++) {
indent += '\t';
}

Back to the top