Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoracuccuru2013-05-06 06:57:25 -0400
committeracuccuru2013-05-06 06:57:25 -0400
commit43306039380dd194cd28ff22fe44715e38fa662b (patch)
treefe36966e1bfd8628d95df9973bfbffe2a0ca0762 /sandbox
parent8c0a29c3e4b19676126faf9e13e7029bf02d1a06 (diff)
downloadorg.eclipse.papyrus-43306039380dd194cd28ff22fe44715e38fa662b.tar.gz
org.eclipse.papyrus-43306039380dd194cd28ff22fe44715e38fa662b.tar.xz
org.eclipse.papyrus-43306039380dd194cd28ff22fe44715e38fa662b.zip
In StandardOutputChannel, flushes after writing on the output
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/src/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardOutputChannelImpl.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/src/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardOutputChannelImpl.java b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/src/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardOutputChannelImpl.java
index 12a85c4a651..8a8afba295a 100644
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/src/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardOutputChannelImpl.java
+++ b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/src/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardOutputChannelImpl.java
@@ -88,6 +88,7 @@ public class StandardOutputChannelImpl extends Object_ {
try {
String message = ((StringValue)inputParameters.get(0).values.get(0)).value;
out.write(message + "\n");
+ out.flush() ;
// This implementation does not produce errorStatus information.
} catch (Exception e) {
Debug.println("An error occured during the execution of writeLine " + e.getMessage());
@@ -123,6 +124,7 @@ public class StandardOutputChannelImpl extends Object_ {
try {
String message = inputParameters.get(0).values.get(0).toString();
out.write(message);
+ out.flush() ;
// This implementation does not produce errorStatus information.
} catch (Exception e) {
Debug.println("An error occured during the execution of write " + e.getMessage());

Back to the top