MCPcopy Create free account
hub / github.com/ReadyTalk/avian / close

Method close

classpath/java/net/Socket.java:62–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60 private boolean closed = false;
61
62 @Override
63 public void close() throws IOException {
64 if (!closed) {
65 closeInput(sock);
66 closed = true;
67 }
68 super.close();
69 }
70
71 @Override
72 protected void finalize() throws Throwable {

Callers 1

finalizeMethod · 0.95

Calls 2

closeInputMethod · 0.80
closeMethod · 0.65

Tested by

no test coverage detected