/** * The next stable version, i.e. the version stripped of its pre-release labels and build * metadata. * * <p>This is mostly used during our development stage, where we test the driver against * pre-release versions of Cassandra like 2.1.0-rc7-SNAPSHOT, but need to compare to the stable * version 2.1.0 when testing for native protocol compatibility, etc. * * @return the next stable version. */ public VersionNumber nextStable() { return new VersionNumber(major, minor, patch, dsePatch, null, null); }
String build = bl == null || bl.isEmpty() ? null : bl.substring(1); // drop the initial '+' return new VersionNumber(major, minor, patch, dsePatch, preReleases, build); } catch (NumberFormatException e) { throw new IllegalArgumentException("Invalid version number: " + version);
/** * The next stable version, i.e. the version stripped of its pre-release labels and build metadata. * <p/> * This is mostly used during our development stage, where we test the driver against pre-release * versions of Cassandra like 2.1.0-rc7-SNAPSHOT, but need to compare to the stable version 2.1.0 * when testing for native protocol compatibility, etc. * * @return the next stable version. */ public VersionNumber nextStable() { return new VersionNumber(major, minor, patch, dsePatch, null, null); }
/** * The next stable version, i.e. the version stripped of its pre-release labels and build metadata. * <p/> * This is mostly used during our development stage, where we test the driver against pre-release * versions of Cassandra like 2.1.0-rc7-SNAPSHOT, but need to compare to the stable version 2.1.0 * when testing for native protocol compatibility, etc. * * @return the next stable version. */ public VersionNumber nextStable() { return new VersionNumber(major, minor, patch, dsePatch, null, null); }
/** * The next stable version, i.e. the version stripped of its pre-release labels and build metadata. * <p/> * This is mostly used during our development stage, where we test the driver against pre-release * versions of Cassandra like 2.1.0-rc7-SNAPSHOT, but need to compare to the stable version 2.1.0 * when testing for native protocol compatibility, etc. * * @return the next stable version. */ public VersionNumber nextStable() { return new VersionNumber(major, minor, patch, dsePatch, null, null); }
String build = bl == null || bl.isEmpty() ? null : bl.substring(1); // drop the initial '+' return new VersionNumber(major, minor, patch, dsePatch, preReleases, build); } catch (NumberFormatException e) { throw new IllegalArgumentException("Invalid version number: " + version);
String build = bl == null || bl.isEmpty() ? null : bl.substring(1); // drop the initial '+' return new VersionNumber(major, minor, patch, dsePatch, preReleases, build); } catch (NumberFormatException e) { throw new IllegalArgumentException("Invalid version number: " + version);
String build = bl == null || bl.isEmpty() ? null : bl.substring(1); // drop the initial '+' return new VersionNumber(major, minor, patch, dsePatch, preReleases, build); } catch (NumberFormatException e) { throw new IllegalArgumentException("Invalid version number: " + version);
String build = bl == null || bl.isEmpty() ? null : bl.substring(1); // drop the initial '+' return new VersionNumber(major, minor, patch, dsePatch, preReleases, build); } catch (NumberFormatException e) { throw new IllegalArgumentException("Invalid version number: " + version);