Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2006-01-04 20:20:50 +0000
committerDarin Wright2006-01-04 20:20:50 +0000
commit2ecdf5c01d48eb2101ff41dab7110003f49abcdc (patch)
treef3e52f94762e1b563c332b76e0a82dda7660f5d3
parentf142fc8a0273d39772d201be1db58a78563526c7 (diff)
downloadeclipse.platform.debug-2ecdf5c01d48eb2101ff41dab7110003f49abcdc.tar.gz
eclipse.platform.debug-2ecdf5c01d48eb2101ff41dab7110003f49abcdc.tar.xz
eclipse.platform.debug-2ecdf5c01d48eb2101ff41dab7110003f49abcdc.zip
Bug 116060 - MessageConsoleStream.println synchronization hazard
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/console/MessageConsoleStream.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/console/MessageConsoleStream.java b/org.eclipse.ui.console/src/org/eclipse/ui/console/MessageConsoleStream.java
index 577c6ddfe..ea7cfbb0b 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/console/MessageConsoleStream.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/console/MessageConsoleStream.java
@@ -71,8 +71,7 @@ public class MessageConsoleStream extends IOConsoleOutputStream {
* @param message message to print
*/
public void println(String message) {
- print(message);
- println();
+ print(message + "\n"); //$NON-NLS-1$
}
/**

Back to the top