/** Returns a new version based on raw numbers * * @lucene.internal */ public static Version fromBits(int major, int minor, int bugfix) { return new Version(major, minor, bugfix); }
return new Version(major, minor, bugfix, prerelease); } catch (IllegalArgumentException iae) { ParseException pe = new ParseException("failed to parse version string \"" + version +