" WHERE " + (DebugConfig.enableMailboxGroup ? "mailbox_id = ? AND " : "") + "id = ?");
" WHERE " + IN_THIS_MAILBOX_AND + "id = ?");
    public static void saveSubject(MailItem item) throws ServiceException {        Mailbox mbox = item.getMailbox();        Connection conn = mbox.getOperationConnection();        PreparedStatement stmt = null;        String subject = item.getSubject();        if (item instanceof Conversation)            subject = ((Conversation) item).getNormalizedSubject();        else if (item instanceof Message)            subject = ((Message) item).getNormalizedSubject();        try {            stmt = conn.prepareStatement("UPDATE " + getMailItemTableName(item) +                    " SET date = ?, size = ?, subject = ?, mod_metadata = ?, change_date = ?, mod_content = ?" +                    " WHERE " +                    (DebugConfig.enableMailboxGroup ? "mailbox_id = ? AND " : "") +                    "id = ?");            int pos = 1;            stmt.setInt(pos++, (int) (item.getDate() / 1000));            stmt.setInt(pos++, (int) item.getSize());            stmt.setString(pos++, subject);            stmt.setInt(pos++, mbox.getOperationChangeID());            stmt.setInt(pos++, mbox.getOperationTimestamp());            stmt.setInt(pos++, mbox.getOperationChangeID());            if (DebugConfig.enableMailboxGroup)                stmt.setInt(pos++, mbox.getId());            stmt.setInt(pos++, item.getId());            stmt.executeUpdate();        } catch (SQLException e) {            throw ServiceException.FAILURE("writing subject for mailbox " + item.getMailboxId() + ", item " + item.getId(), e);        } finally {            DbPool.closeStatement(stmt);        }    }