Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2013-12-04 15:14:31 +0000
committerUwe Stieber2013-12-04 15:14:31 +0000
commita564ea9211ded2112ae555fe2f707ce3d6a00888 (patch)
treef6d2fb5b6e7df651f93e284c43bd11b5b4d6b48c
parentf79a996a7e8c9fa3d6f07f1f2bc5bc9c8c84308c (diff)
downloadorg.eclipse.tcf-a564ea9211ded2112ae555fe2f707ce3d6a00888.tar.gz
org.eclipse.tcf-a564ea9211ded2112ae555fe2f707ce3d6a00888.tar.xz
org.eclipse.tcf-a564ea9211ded2112ae555fe2f707ce3d6a00888.zip
Target Explorer: No need for a buffered writer to send "quit" to the value-add
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.core/src/org/eclipse/tcf/te/tcf/core/va/AbstractExternalValueAdd.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.core/src/org/eclipse/tcf/te/tcf/core/va/AbstractExternalValueAdd.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.core/src/org/eclipse/tcf/te/tcf/core/va/AbstractExternalValueAdd.java
index 92d977bf3..aaf7bdcf8 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.core/src/org/eclipse/tcf/te/tcf/core/va/AbstractExternalValueAdd.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.core/src/org/eclipse/tcf/te/tcf/core/va/AbstractExternalValueAdd.java
@@ -9,7 +9,6 @@
*******************************************************************************/
package org.eclipse.tcf.te.tcf.core.va;
-import java.io.BufferedWriter;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.OutputStreamWriter;
@@ -59,9 +58,9 @@ public abstract class AbstractExternalValueAdd extends AbstractValueAdd {
public void dispose() {
if (process != null) {
// Send "quit" to the process before we destroy the process
- BufferedWriter writer = null;
+ OutputStreamWriter writer = null;
try {
- writer = new BufferedWriter(new OutputStreamWriter(process.getOutputStream()));
+ writer = new OutputStreamWriter(process.getOutputStream());
writer.write("quit"); //$NON-NLS-1$
writer.flush();

Back to the top