Removed specific dependency on method signature that depended on SLF4J

This commit is contained in:
nathan 2018-08-18 20:07:00 +02:00
parent f0923fb201
commit a6c6cebd39

View File

@ -42,21 +42,6 @@ class IO {
}
}
/**
* Convenient close for a Closeable.
*/
@SuppressWarnings("Duplicates")
public static
void close(final Closeable closeable, final org.slf4j.Logger logger) {
if (closeable != null) {
try {
closeable.close();
} catch (IOException e) {
logger.error("Error closing: {}", closeable, e);
}
}
}
/**
* Convenient close for a Closeable.
*/