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

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

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

public class IntegerVersionMath implements VersionMath {

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy