log.debug("Executing SQL query: {}", getDiffSQL);
rs = stmt.executeQuery();
return rs.next() ? new FixedRunningAverage(rs.getInt(1), rs.getDouble(2)) : null;
} catch (SQLException sqle) {
log.warn("Exception while retrieving diff", sqle);
throw new TasteException(sqle);
} finally {
IOUtils.quietClose(rs, stmt, conn);
}
}