190d80dc10f60e99a15aba366a8c758e4a2b3a09
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type allMigrationClazz : Map<SchemaTransition,Migration> to transitions : CassandraSchemaTransitions in method public CassandraMigrationService(schemaVersionDAO CassandraSchemaVersionDAO, transitions CassandraSchemaTransitions, factory MigrationTask.Factory, latestVersion SchemaVersion) in class org.apache.james.backends.cassandra.migration.CassandraMigrationService | From | To | |
Move Method | 2 | ||
Move Method private throwMigrationException(newVersion SchemaVersion) : void from class org.apache.james.backends.cassandra.migration.CassandraMigrationService to private throwMigrationException(newVersion SchemaVersion) : void from class org.apache.james.backends.cassandra.migration.MigrationTask | From | To | |
Move Method private failureMessage(newVersion SchemaVersion) : String from class org.apache.james.backends.cassandra.migration.CassandraMigrationService to private failureMessage(newVersion SchemaVersion) : String from class org.apache.james.backends.cassandra.migration.MigrationTask | From | To | |
Rename Attribute | 2 | ||
Rename Attribute migrations : ImmutableList<Migration> to transitions : CassandraSchemaTransitions in class org.apache.james.backends.cassandra.migration.MigrationTask | From | To | |
Rename Attribute allMigrationClazz : Map<SchemaTransition,Migration> to transitions : CassandraSchemaTransitions in class org.apache.james.backends.cassandra.migration.CassandraMigrationService | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type allMigrationClazz : Map<SchemaTransition,Migration> to transitions : CassandraSchemaTransitions in class org.apache.james.backends.cassandra.migration.CassandraMigrationService | From | To | |
Change Attribute Type migrations : ImmutableList<Migration> to transitions : CassandraSchemaTransitions in class org.apache.james.backends.cassandra.migration.MigrationTask | From | To | |
Extract Method | 1 | ||
Extract Method private checkTarget(target SchemaVersion) : void extracted from public upgradeToVersion(target SchemaVersion) : Task in class org.apache.james.backends.cassandra.migration.CassandraMigrationService | From | To | |
Rename Parameter | 2 | ||
Rename Parameter allMigrationClazz : Map<SchemaTransition,Migration> to transitions : CassandraSchemaTransitions in method public CassandraMigrationService(schemaVersionDAO CassandraSchemaVersionDAO, transitions CassandraSchemaTransitions, factory MigrationTask.Factory, latestVersion SchemaVersion) in class org.apache.james.backends.cassandra.migration.CassandraMigrationService | From | To | |
Rename Parameter toVersion : SchemaVersion to target : SchemaVersion in method public MigrationTask(schemaVersionDAO CassandraSchemaVersionDAO, transitions CassandraSchemaTransitions, target SchemaVersion) in class org.apache.james.backends.cassandra.migration.MigrationTask | From | To |