MCPcopy Create free account
hub / github.com/davidgiven/luje / close

Method close

lib/java/io/ByteArrayOutputStream.java:77–85  ·  view source on GitHub ↗

Closes this stream. This releases system resources used for this stream. @throws IOException if an error occurs while attempting to close this stream.

()

Source from the content-addressed store, hash-verified

75 * if an error occurs while attempting to close this stream.
76 */
77 @Override
78 public void close() throws IOException {
79 /**
80 * Although the spec claims "A closed stream cannot perform output
81 * operations and cannot be reopened.", this implementation must do
82 * nothing.
83 */
84 super.close();
85 }
86
87 private void expand(int i) {
88 /* Can the buffer handle @i more bytes, if not expand it */

Callers

nothing calls this directly

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected