" WHERE " + (DebugConfig.enableMailboxGroup ? "mailbox_id = ? AND " : "") + "type = " + MailItem.TYPE_CONVERSATION + " AND size <= 0");
" WHERE " + IN_THIS_MAILBOX_AND + "type = " + MailItem.TYPE_CONVERSATION + " AND size <= 0");
    private static List<Integer> getPurgedConversations(Mailbox mbox) throws ServiceException {        Connection conn = mbox.getOperationConnection();        List<Integer> purgedConvs = new ArrayList<Integer>();        PreparedStatement stmt = null;        ResultSet rs = null;        try {            stmt = conn.prepareStatement("SELECT id FROM " + getMailItemTableName(mbox) +                    " WHERE " +                    (DebugConfig.enableMailboxGroup ? "mailbox_id = ? AND " : "") +                    "type = " + MailItem.TYPE_CONVERSATION + " AND size <= 0");            if (DebugConfig.enableMailboxGroup)                stmt.setInt(1, mbox.getId());            rs = stmt.executeQuery();            while (rs.next())                purgedConvs.add(rs.getInt(1));            return purgedConvs;        } catch (SQLException e) {            throw ServiceException.FAILURE("getting list of purged conversations", e);        } finally {            DbPool.closeResults(rs);            DbPool.closeStatement(stmt);        }    }