code: public static TransactionEdit createCommitted(long writePointer, Set<ChangeId> changes, long nextWritePointer,
                                                  boolean canCommit) {
      return new TransactionEdit(writePointer, 0L, State.COMMITTED, 0L, changes, nextWritePointer, canCommit, null, 
                                 null, 0L, 0L, null);
    }
docs: Creates a new instance in the {@link State#COMMITTED} state.