Searched refs:closeable (Results 1 – 5 of 5) sorted by relevance
22 public static void closeQuietly(Closeable closeable) { in closeQuietly() argument24 if (closeable != null) { in closeQuietly()25 closeable.close(); in closeQuietly()
38 static void safeClose(Closeable closeable) { in safeClose() argument40 closeable.close(); in safeClose()
425 private static void closeQuietly(Closeable closeable) { in closeQuietly() argument427 closeable.close(); in closeQuietly()
1090 private void tryCloseFileDescriptor(@Nullable Closeable closeable, String logName) { in tryCloseFileDescriptor() argument1091 if (closeable != null) { in tryCloseFileDescriptor()1093 closeable.close(); in tryCloseFileDescriptor()
1285 public static void closeQuietly(@Nullable AutoCloseable closeable) { in closeQuietly() argument1286 IoUtils.closeQuietly(closeable); in closeQuietly()