@Override
    public String toString() {
      return "@" + System.identityHashCode(this) + ' ' + super.toString();
    }
Creates a new list, if needed, that contains all the elements of the specified old list
except the last one if it is 'rc'. Also recomputes needsAck field.
geode-core/src/main/java/org/apache/geode/internal/cache/TXCommitMessage.java