Remove unecessary throws from close()

This commit is contained in:
Dave Syer
2016-01-25 10:00:12 +00:00
parent 12b9bfbe12
commit b07c1a0351

View File

@@ -34,7 +34,7 @@ public class InetUtils implements Closeable {
}
@Override
public void close() throws IOException {
public void close() {
if (executorService != null) {
synchronized (InetUtils.class) {
if (executorService != null) {