MCPcopy Index your code
hub / github.com/questdb/questdb / free

Method free

core/src/main/java/io/questdb/std/Misc.java:96–105  ·  view source on GitHub ↗
(T object)

Source from the content-addressed store, hash-verified

94 }
95
96 public static <T extends Closeable> T free(T object) {
97 if (object != null) {
98 try {
99 object.close();
100 } catch (IOException e) {
101 throw new FatalError(e);
102 }
103 }
104 return null;
105 }
106
107 public static <T extends Closeable> void free(T[] list) {
108 if (list != null) {

Callers 15

tearDownStaticMethod · 0.95
commitRowMethod · 0.95
resetMethod · 0.95
closeMethod · 0.95
assertReturnsMethod · 0.95
assertReturnsRecordsMethod · 0.95
tearDownStaticMethod · 0.95

Calls 1

closeMethod · 0.65

Tested by 15

tearDownStaticMethod · 0.76
commitRowMethod · 0.76
resetMethod · 0.76
closeMethod · 0.76
assertReturnsMethod · 0.76
assertReturnsRecordsMethod · 0.76
tearDownStaticMethod · 0.76