MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / flush

Method flush

ij/src/main/java/ij/io/LogStream.java:183–191  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

181 }
182
183 @Override
184 public void flush() {
185 if (byteStream.size() > 0) {
186 String msg = byteStream.toString();
187 if (msg.endsWith(endOfLineSystem) || msg.endsWith(endOfLineShort))
188 ejectBuffer();
189 }
190 super.flush();
191 }
192
193 @Override
194 public void close() {

Callers

nothing calls this directly

Calls 4

ejectBufferMethod · 0.95
flushMethod · 0.65
sizeMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected