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

com.github.jmkgreen.morphia.VersionHelper Maven / Gradle / Ivy

There is a newer version: 1.2.3
Show newest version
/**
 * 
 */
package com.github.jmkgreen.morphia;

/**
 * @author Uwe Schaefer, ([email protected])
 * 
 */
public class VersionHelper {
	
	public static long nextValue(Long oldVersion) {
		long newVersion = oldVersion == null ? 1 : oldVersion + 1;
		return newVersion;
	}
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy