MCPcopy Index your code
hub / github.com/arduino/Arduino / flush

Method flush

app/src/cc/arduino/ConsoleOutputStream.java:84–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82 }
83
84 public synchronized void flush() {
85 String text = toString();
86
87 if (text.length() == 0) {
88 return;
89 }
90
91 printStream.print(text);
92 printInConsole(text);
93
94 reset();
95 }
96
97 private void printInConsole(String text) {
98 newLinePrinted = newLinePrinted || text.contains("\n");

Callers 6

actionPerformedMethod · 0.45
BaseMethod · 0.45
copyFileMethod · 0.45
runMethod · 0.45
publishMethod · 0.45
closeMethod · 0.45

Calls 3

printInConsoleMethod · 0.95
toStringMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected