java 版本号递增

@Slf4j
public class VsersionUtil {

    public static String upgradeVersion(String version)
    {
        String upgradeVsersion;
        if (StringUtils.isEmpty(version))
        {
            version = "1.0.0.0";
        }
        //将版本号拆解成整数数组
        List strArr = Splitter.on(".").splitToList(version);
        Integer[] ints = new Integer[strArr.size()];
        for(int i=0 ;i

你可能感兴趣的:(java 版本号递增)