2da3490a64c6daefc8f1d92d8ff18cba4d07aaa0
Files Diff
- Added: 0
 - Removed: 0
 - Renamed: 0
 - Modified: 8
 
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method public testShardRecoveryExistingFileMismatch() : void renamed to public testShardRecoveryExistingFileSizeMismatch() : void in class com.facebook.presto.raptor.storage.TestShardRecovery | From | To | |
| Change Parameter Type | 3 | ||
| Change Parameter Type shardSize : OptionalLong to shardSize : long in method package restoreFromBackup(shardUuid UUID, shardSize long, shardXxhash64 OptionalLong) : void in class com.facebook.presto.raptor.storage.ShardRecoveryManager | From | To | |
| Change Parameter Type shardSize : OptionalLong to shardSize : long in method public MissingShardRecovery(shardUuid UUID, shardSize long, shardXxhash64 OptionalLong, active boolean) in class com.facebook.presto.raptor.storage.ShardRecoveryManager.MissingShardRecovery | From | To | |
| Change Parameter Type shardSize : OptionalLong to shardSize : long in method public MissingShard(shardUuid UUID, shardSize long, shardXxhash64 OptionalLong, active boolean) in class com.facebook.presto.raptor.storage.ShardRecoveryManager.MissingShard | From | To | |
| Rename Variable | 1 | ||
| Rename Variable file : File to storageFile : File in method public testShardRecoveryExistingFileSizeMismatch() : void in class com.facebook.presto.raptor.storage.TestShardRecovery | From | To | |
| Change Return Type | 1 | ||
| Change Return Type OptionalLong to long in method public getShardSize() : long in class com.facebook.presto.raptor.storage.ShardRecoveryManager.MissingShard | From | To | |
| Extract Variable | 1 | ||
| Extract Variable shardUuid : UUID in method public testInsertShard() : void from class com.facebook.presto.raptor.metadata.TestShardDao | From | To | |
| Extract Method | 1 | ||
| Extract Method private isFileCorrupt(file File, size long, xxhash64 OptionalLong) : boolean extracted from package restoreFromBackup(shardUuid UUID, shardSize OptionalLong) : void in class com.facebook.presto.raptor.storage.ShardRecoveryManager | From | To | |
| Inline Variable | 1 | ||
| Inline Variable backupSize : long in method public testShardRecoveryExistingFileMismatch() : void from class com.facebook.presto.raptor.storage.TestShardRecovery | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type shardSize : OptionalLong to shardSize : long in class com.facebook.presto.raptor.storage.ShardRecoveryManager.MissingShard | From | To | |
| Change Attribute Type shardSize : OptionalLong to shardSize : long in class com.facebook.presto.raptor.storage.ShardRecoveryManager.MissingShardRecovery | From | To | |
| Extract And Move Method | 1 | ||
| Extract And Move Method public getShard(shardUuid UUID) : ShardMetadata extracted from public testInsertShard() : void in class com.facebook.presto.raptor.metadata.TestShardDao & moved to class com.facebook.presto.raptor.metadata.DatabaseShardManager | From | To |