All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jpattern.orm.persistor.version.LongVersionMath Maven / Gradle / Ivy

There is a newer version: 6.3.0
Show newest version
package com.jpattern.orm.persistor.version;

public class LongVersionMath implements VersionMath {

	@Override
	public Long increase(final boolean firstVersionNumber, final Long value) {
		if (firstVersionNumber || (value == null)) {
			return 0l;
		}
		return (value + 1);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy