Skip to content

Commit

Permalink
set insert rev to 1 to be consistent with updateRevision()
Browse files Browse the repository at this point in the history
  • Loading branch information
hohwille committed Jan 2, 2024
1 parent 6627e4d commit fc0931b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
public abstract class AbstractVersionId<E, I> extends AbstractId<E, I, Long> {

/** {@link #getRevision() Revision} of a newly inserted {@link io.github.mmm.entity.Entity entity}. */
public static final Long INSERT_REVISION = Long.valueOf(0);
public static final Long INSERT_REVISION = Long.valueOf(1);

private final Long revision;

Expand Down

0 comments on commit fc0931b

Please sign in to comment.