redis.clients.util.IOUtils Maven / Gradle / Ivy
package redis.clients.util;
import java.io.IOException;
import java.net.Socket;
public class IOUtils {
private IOUtils() {
}
public static void closeQuietly(Socket sock) {
// It's same thing as Apache Commons - IOUtils.closeQuietly()
if (sock != null) {
try {
sock.close();
} catch (IOException e) {
// ignored
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy