Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/console/ProcessConsole.java')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/console/ProcessConsole.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/console/ProcessConsole.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/console/ProcessConsole.java
index 04833103c..0514024ee 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/console/ProcessConsole.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/console/ProcessConsole.java
@@ -278,7 +278,7 @@ public class ProcessConsole extends IOConsole implements IConsole, IDebugEventSe
type = config.getType().getName();
} catch (CoreException e) {
}
- StringBuffer buffer = new StringBuffer();
+ StringBuilder buffer = new StringBuilder();
buffer.append(config.getName());
if (type != null) {
buffer.append(" ["); //$NON-NLS-1$
@@ -793,7 +793,7 @@ public class ProcessConsole extends IOConsole implements IConsole, IDebugEventSe
}
private String escape(String path) {
- StringBuffer buffer = new StringBuffer(path);
+ StringBuilder buffer = new StringBuilder(path);
int index = buffer.indexOf("\\"); //$NON-NLS-1$
while (index >= 0) {
buffer.insert(index, '\\');

Back to the top