8be58b7ee46f05e1e0cf567792c85766f39b16b7
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 23
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private createInitialDataset(db GraphDatabaseService) : void renamed to private createInitialDataSet(db GraphDatabaseService) : void in class org.neo4j.backup.BackupIT | From | To | |
Rename Variable | 3 | ||
Rename Variable toPath : File to toStorePath : File in method public restoreExplicitIndexesFromBackup() : void in class org.neo4j.restore.RestoreDatabaseCommandIT | From | To | |
Rename Variable config : Config to toConfig : Config in method public restoreExplicitIndexesFromBackup() : void in class org.neo4j.restore.RestoreDatabaseCommandIT | From | To | |
Rename Variable databaseFile : File to dbDir : File in method public doNotRemoveRelativeTransactionDirectoryAgain() : void in class org.neo4j.restore.RestoreDatabaseCommandIT | From | To | |
Change Return Type | 1 | ||
Change Return Type DbRepresentation to void in method public createSomeData(cluster Cluster) : void in class org.neo4j.backup.impl.OnlineBackupCommandCcIT | From | To | |
Move Attribute | 1 | ||
Move Attribute private databaseName : String from class org.neo4j.restore.RestoreDatabaseCommand to private databaseName : String from class org.neo4j.restore.RestoreDatabaseCommandIT | From | To | |
Replace Variable With Attribute | 11 | ||
Replace Variable With Attribute fromPath : File to fromDatabasePath : File in method public shouldAllowForcedCopyOverAnExistingDatabase() : void in class org.neo4j.restore.RestoreDatabaseCommandIT | From | To | |
Replace Variable With Attribute config : Config to toConfig : Config in method public shouldThrowExceptionIfBackupDirectoryDoesNotExist() : void in class org.neo4j.restore.RestoreDatabaseCommandIT | From | To | |
Replace Variable With Attribute config : Config to toConfig : Config in method public restoreTransactionLogsInCustomDirectoryForTargetDatabaseWhenConfigured() : void in class org.neo4j.restore.RestoreDatabaseCommandIT | From | To | |
Replace Variable With Attribute config : Config to toConfig : Config in method public forceShouldRespectStoreLock() : void in class org.neo4j.restore.RestoreDatabaseCommandIT | From | To | |
Replace Variable With Attribute config : Config to toConfig : Config in method public shouldNotCopyOverAndExistingDatabase() : void in class org.neo4j.restore.RestoreDatabaseCommandIT | From | To | |
Replace Variable With Attribute config : Config to toConfig : Config in method public shouldThrowExceptionIfBackupDirectoryDoesNotHaveStoreFiles() : void in class org.neo4j.restore.RestoreDatabaseCommandIT | From | To | |
Replace Variable With Attribute fromPath : File to fromDatabasePath : File in method public shouldThrowExceptionIfBackupDirectoryDoesNotExist() : void in class org.neo4j.restore.RestoreDatabaseCommandIT | From | To | |
Replace Variable With Attribute fromPath : File to fromDatabasePath : File in method public restoreTransactionLogsInCustomDirectoryForTargetDatabaseWhenConfigured() : void in class org.neo4j.restore.RestoreDatabaseCommandIT | From | To | |
Replace Variable With Attribute fromPath : File to fromDatabasePath : File in method public forceShouldRespectStoreLock() : void in class org.neo4j.restore.RestoreDatabaseCommandIT | From | To | |
Replace Variable With Attribute config : Config to toConfig : Config in method public shouldAllowForcedCopyOverAnExistingDatabase() : void in class org.neo4j.restore.RestoreDatabaseCommandIT | From | To | |
Replace Variable With Attribute fromPath : File to fromDatabasePath : File in method public shouldThrowExceptionIfBackupDirectoryDoesNotHaveStoreFiles() : void in class org.neo4j.restore.RestoreDatabaseCommandIT | From | To | |
Rename Attribute | 6 | ||
Rename Attribute fromPath : File to fromDatabasePath : File in class org.neo4j.restore.RestoreDatabaseCommand | From | To | |
Rename Attribute databaseName : String to toDatabaseName : String in class org.neo4j.restore.RestoreDatabaseCommand | From | To | |
Rename Attribute serverPath : File to serverStorePath : File in class org.neo4j.backup.BackupIT | From | To | |
Rename Attribute backupPath : File to backupDatabasePath : File in class org.neo4j.backup.BackupIT | From | To | |
Rename Attribute backupDir : File to backupStoreDir : File in class org.neo4j.backup.impl.OnlineBackupCommandCcIT | From | To | |
Rename Attribute databaseDir : File to toDatabaseDir : File in class org.neo4j.restore.RestoreDatabaseCommand | From | To | |
Extract Variable | 4 | ||
Extract Variable config : Config in method public makeSureBackupCanBePerformedFromAnyInstance() : void from class org.neo4j.causalclustering.BackupCoreIT | From | To | |
Extract Variable testDatabase : String in method public doNotRemoveRelativeTransactionDirectoryAgain() : void from class org.neo4j.restore.RestoreDatabaseCommandIT | From | To | |
Extract Variable thread : Thread in method public dataIsInAUsableStateAfterBackup() : void from class org.neo4j.backup.impl.OnlineBackupCommandCcIT | From | To | |
Extract Variable config : Config in method public makeSureBackupCanBePerformed() : void from class org.neo4j.causalclustering.BackupReadReplicaIT | From | To | |
Extract Method | 4 | ||
Extract Method private runBackupOtherJvm(customAddress String, databaseName String) : int extracted from public reportsProgress() : void in class org.neo4j.backup.impl.OnlineBackupCommandCcIT | From | To | |
Extract Method private runBackupOtherJvm(customAddress String, databaseName String) : int extracted from public backupRenamesWork() : void in class org.neo4j.backup.impl.OnlineBackupCommandCcIT | From | To | |
Extract Method private runBackupOtherJvm(customAddress String, databaseName String) : int extracted from public backupDoesntDisplayExceptionWhenSuccessful() : void in class org.neo4j.backup.impl.OnlineBackupCommandCcIT | From | To | |
Split Attribute | 1 | ||
Split Attribute backupDir : Path to [backupDatabaseDir : Path, backupStoreDir : Path] in class org.neo4j.backup.impl.BackupProtocolServiceIT | From | To | |
Rename Parameter | 6 | ||
Rename Parameter fromPath : File to fromDatabasePath : File in method public RestoreDatabaseCommand(fs FileSystemAbstraction, fromDatabasePath File, config Config, toDatabaseName String, forceOverwrite boolean) in class org.neo4j.restore.RestoreDatabaseCommand | From | To | |
Rename Parameter path : File to storeDir : File in method private startServer(storeDir File, serverAddress String) : ServerInterface in class org.neo4j.backup.IncrementalBackupIT | From | To | |
Rename Parameter value : File to dbDir : File in method private isExistingDatabase(fileSystem FileSystemAbstraction, dbDir File) : boolean in class org.neo4j.kernel.impl.util.Validators | From | To | |
Rename Parameter databaseName : String to toDatabaseName : String in method public RestoreDatabaseCommand(fs FileSystemAbstraction, fromDatabasePath File, config Config, toDatabaseName String, forceOverwrite boolean) in class org.neo4j.restore.RestoreDatabaseCommand | From | To | |
Rename Parameter backupDir : File to storeDir : File in method public getBackupDbRepresentation(name String, storeDir File) : DbRepresentation in class org.neo4j.backup.impl.OnlineBackupCommandCcIT | From | To | |
Rename Parameter path : File to storeDir : File in method private startGraphDatabase(storeDir File) : GraphDatabaseService in class org.neo4j.backup.IncrementalBackupIT | From | To |