Toggle navigation
Home
int to org.apache.james.backends.cassandra.versions.SchemaVersion
No. of Instances - 37
No. of Commits - 1
No. of Projects - {'james-project'}
Hierarchy/Composition: Composition
Primitive Info: -
NameSpace: Jdk -> Internal
Mapping:
Add or Remove Method invocation
MIN_VERSION
to
MIN_VERSION.next()
MIN_VERSION
to
MIN_VERSION.previous()
MAX_VERSION
to
MAX_VERSION.next()
IntStream.range(currentVersion,newVersion).boxed().map(this::validateVersionNumber).map(this::toMigration)
to
IntStream.range(currentVersion.getValue(),newVersion.getValue()).boxed().map(SchemaVersion::new).map(this::validateVersionNumber).map(this::toMigration)
writeVersionStatement.bind().setUUID(KEY,UUIDs.timeBased()).setInt(VALUE,newVersion)
to
writeVersionStatement.bind().setUUID(KEY,UUIDs.timeBased()).setInt(VALUE,newVersion.getValue())
IntStream.range(currentVersion,newVersion).boxed().map(this::validateVersionNumber).map(this::toMigration)
to
IntStream.range(currentVersion.getValue(),newVersion.getValue()).boxed().map(SchemaVersion::new).map(this::validateVersionNumber).map(this::toMigration)