public static void closeDBResources(Statement s, ResultSet rs) {
    if (rs != null)
      try {
        rs.close();
      } catch (SQLException e) {
        logger.warn("Exception while closing the ResultSet", e);
      }
    if (s != null)
      try {
        s.close();
      } catch (SQLException e) {
        logger.warn("Exception while closing the Statement", e);
      }
  }
Closes the given jdbc resources if they are not null.

@param s  Statement
@param rs ResultSet
KITE-Framework/src/main/java/org/webrtc/kite/Utils.java