Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2019-06-17 06:50:25 -0400
committerLars Vogel2019-06-17 06:50:25 -0400
commit47b5e1fc851acdb24521ae9fcaae1f31308e610c (patch)
tree912324e7fce6343ca183552e860a982faa97ae4a /org.eclipse.debug.ui/ui
parente8d291d9a4d22674c38c2ff5ceb9e7ae60faf8a8 (diff)
downloadeclipse.platform.debug-47b5e1fc851acdb24521ae9fcaae1f31308e610c.tar.gz
eclipse.platform.debug-47b5e1fc851acdb24521ae9fcaae1f31308e610c.tar.xz
eclipse.platform.debug-47b5e1fc851acdb24521ae9fcaae1f31308e610c.zip
StringBuilder instead of StringBuffer
Change-Id: Ife52e063a0baa0504b6549f25df4d170999f0498 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
Diffstat (limited to 'org.eclipse.debug.ui/ui')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LazyModelPresentation.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LazyModelPresentation.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LazyModelPresentation.java
index cdc78ef3b..3bfd46ce2 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LazyModelPresentation.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LazyModelPresentation.java
@@ -206,7 +206,7 @@ public class LazyModelPresentation implements IDebugModelPresentation, IDebugEdi
buf.append(getDefaultText(element));
return buf.toString();
} else if (element instanceof IVariable) {
- return new StringBuffer(((IVariable)element).getValue().getReferenceTypeName()).append(' ').append(getDefaultText(element)).toString();
+ return new StringBuilder(((IVariable)element).getValue().getReferenceTypeName()).append(' ').append(getDefaultText(element)).toString();
}
} catch (DebugException de) {
DebugUIPlugin.log(de);

Back to the top