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

Method close

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

Source from the content-addressed store, hash-verified

105 private boolean closed = false;
106
107 @Override
108 public void close() throws IOException {
109 if (!closed) {
110 closeOutput(sock);
111 closed = true;
112 }
113 super.close();
114 }
115
116 @Override
117 protected void finalize() throws Throwable {

Callers 1

finalizeMethod · 0.95

Calls 2

closeOutputMethod · 0.80
closeMethod · 0.65

Tested by

no test coverage detected