logback-android/src/main/java/ch/qos/logback/core/util/CloseUtil.java
public static void closeQuietly(ServerSocket serverSocket) {
    if (serverSocket == null) return;
    try {
      serverSocket.close();
    }
    catch (IOException ex) {
      assert true;  // avoid an empty catch
    }
  }
public static void closeQuietly(ServerSocket serverSocket) {
    if (serverSocket == null) return;
    try {
      serverSocket.close();
    }
    catch (IOException ex) {
      assert true;  // avoid an empty catch
    }
  }
public static void closeQuietly ( ServerSocket serverSocket ) { if ( serverSocket == null ) return ; try { serverSocket . close ( ) ; } catch ( IOException ex ) { assert true ; // avoid an empty catch } }
Closes a server socket while suppressing any {@code IOException} that
occurs.
@param serverSocket the socket to close
Closes a server socket while suppressing any {