Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/BruceEckel/OnJava8-Examples
/ dispose
Method
dispose
exceptions/InputFile.java:39–46 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
37
return
s;
38
}
39
public
void
dispose() {
40
try {
41
in.close();
42
System.out.println(
"dispose() successful"
);
43
} catch(IOException e2) {
44
throw
new
RuntimeException(
"in.close() failed"
);
45
}
46
}
47
}
Callers
1
main
Method · 0.95
Calls
1
close
Method · 0.45
Tested by
no test coverage detected