Package cpw.mods.fml.common.versioning

Examples of cpw.mods.fml.common.versioning.ComparableVersion.compareTo()


                        if (!ret.startsWith("Ret: ")) {
                            CodeChickenCorePlugin.logger.error("Failed to check update for " + mod + " returned: " + ret);
                            return null;
                        }
                        ComparableVersion newversion = new ComparableVersion(ret.substring(5));
                        if (newversion.compareTo(new ComparableVersion(version)) > 0)
                            addUpdateMessage("Version " + newversion + " of " + mod + " is available");
                        return null;
                    }
                });
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.