7a34ba18cf8f930054d35b8ac1a7d1e2242ff233
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 54
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 2 | ||
Rename Variable storeFiles : File[] to indexFiles : File[] in method private gatherNonRecordStores(files Collection<StoreFileMetadata>, includeLogs boolean) : void in class org.neo4j.kernel.impl.transaction.state.NeoStoreFileListing | From | To | |
Rename Variable existingDbDir : File to storeDir : File in method public createClassicNeo4jStore(base File, fileSystem FileSystemAbstraction, nodesToCreate int, recordFormat String, logicalLogsLocation String) : File in class org.neo4j.causalclustering.backup.RestoreClusterUtils | From | To | |
Rename Attribute | 2 | ||
Rename Attribute testDir : TestDirectory to directory : TestDirectory in class org.neo4j.com.storecopy.StoreCopyClientTest | From | To | |
Rename Attribute directory : File to storeDirectory : File in class org.neo4j.kernel.impl.transaction.log.files.LogFilesBuilderTest | From | To | |
Extract Variable | 3 | ||
Extract Variable dependencyResolver : DependencyResolver in method protected run(args Args, out PrintStream) : void from class org.neo4j.tools.applytx.ApplyTransactionsCommand | From | To | |
Extract Variable path : String in method private doWrite(writer StoreWriter, temporaryBuffer ByteBuffer, file File, recordSize int, fileChannel ReadableByteChannel, fileSize long, storeCopyIdentifier String, isLogFile boolean) : void from class org.neo4j.com.storecopy.StoreCopyServer | From | To | |
Extract Variable destination : File in method public moveTo(source File, target File, logFiles LogFiles) : void from class org.neo4j.causalclustering.catchup.storecopy.StoreFiles | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type fileSystemRule : EphemeralFileSystemRule to fileSystemRule : DefaultFileSystemRule in class org.neo4j.kernel.impl.transaction.log.files.LogFilesBuilderTest | From | To | |
Change Attribute Type fileSystem : EphemeralFileSystemAbstraction to fileSystem : DefaultFileSystemAbstraction in class org.neo4j.kernel.impl.transaction.log.files.LogFilesBuilderTest | From | To | |
Extract Method | 9 | ||
Extract Method public createClassicNeo4jStore(base File, fileSystem FileSystemAbstraction, nodesToCreate int, recordFormat String, logicalLogsLocation String) : File extracted from public createClassicNeo4jStore(base File, fileSystem FileSystemAbstraction, nodesToCreate int, recordFormat String) : File in class org.neo4j.causalclustering.backup.RestoreClusterUtils | From | To | |
Extract Method private createTransactionLogWithCheckpoint(config Config) : void extracted from public shouldCreateTransactionLogWithCheckpoint() : void in class org.neo4j.causalclustering.catchup.tx.TransactionLogCatchUpWriterTest | From | To | |
Extract Method private bootstrapAndVerify(nodeCount long, fileSystem FileSystemAbstraction, classicNeo4jStore File, pageCache PageCache, config Config, bootstrapper CoreBootstrapper) : void extracted from public shouldSetAllCoreState() : void in class org.neo4j.causalclustering.core.state.CoreBootstrapperIT | From | To | |
Extract Method private createAndCrashWithDefaultConfig() : FileSystemAbstraction extracted from public shouldBeAbleToRecoverBrokenStore() : void in class org.neo4j.kernel.impl.recovery.RecoveryRequiredCheckerTest | From | To | |
Extract Method private startGraphDatabase(storeDir File, withOnlineBackup boolean, backupPort Integer, logLocation String) : GraphDatabaseService extracted from private startGraphDatabase(storeDir File, withOnlineBackup boolean, backupPort Integer) : GraphDatabaseService in class org.neo4j.backup.BackupIT | From | To | |
Extract Method private getRecoveryCheckerWithDefaultConfig(fileSystem FileSystemAbstraction, pageCache PageCache) : RecoveryRequiredChecker extracted from public shouldNotWantToRecoverIntactStore() : void in class org.neo4j.kernel.impl.recovery.RecoveryRequiredCheckerTest | From | To | |
Extract Method private createAndCrashWithDefaultConfig() : FileSystemAbstraction extracted from public shouldWantToRecoverBrokenStore() : void in class org.neo4j.kernel.impl.recovery.RecoveryRequiredCheckerTest | From | To | |
Extract Method private getRecoveryCheckerWithDefaultConfig(fileSystem FileSystemAbstraction, pageCache PageCache) : RecoveryRequiredChecker extracted from public shouldBeAbleToRecoverBrokenStore() : void in class org.neo4j.kernel.impl.recovery.RecoveryRequiredCheckerTest | From | To | |
Extract Method private getRecoveryCheckerWithDefaultConfig(fileSystem FileSystemAbstraction, pageCache PageCache) : RecoveryRequiredChecker extracted from public shouldWantToRecoverBrokenStore() : void in class org.neo4j.kernel.impl.recovery.RecoveryRequiredCheckerTest | From | To | |
Rename Parameter | 2 | ||
Rename Parameter directory : File to logsDirectory : File in method package TransactionLogFiles(logsDirectory File, name String, context TransactionLogFilesContext) in class org.neo4j.kernel.impl.transaction.log.files.TransactionLogFiles | From | To | |
Rename Parameter storeDirectory : File to logsDirectory : File in method public logFilesBasedOnlyBuilder(logsDirectory File, fileSystem FileSystemAbstraction) : LogFilesBuilder in class org.neo4j.kernel.impl.transaction.log.files.LogFilesBuilder | From | To |