
com.github.jmkgreen.morphia.VersionHelper Maven / Gradle / Ivy
/**
*
*/
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