d2606bc6ea5fc289a74db676cbea22346361b2ee
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method private parserCheckpointOrLogFile(filename String, lastModificationTime long, isCheckpoint boolean) : JournalFile renamed to private decodeCheckpointOrLogFile(filename String, isCheckpoint boolean) : JournalFile in class alluxio.master.journal.ufs.UfsJournal | From | To | |
Rename Method private parseTmpFile(filename String, lastModificationTime long) : JournalFile renamed to private decodeTmpFile(filename String) : JournalFile in class alluxio.master.journal.ufs.UfsJournal | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type checkpoint : JournalFile to checkpoints : List<JournalFile> in method package Snapshot(checkpoints List<JournalFile>, logs List<JournalFile>, temporaryCheckpoints List<JournalFile>) in class alluxio.master.journal.ufs.UfsJournal.Snapshot | From | To | |
Move Method | 1 | ||
Move Method package isIncompleteLog() : boolean from class alluxio.master.journal.ufs.UfsJournalReader.JournalInputStream to package isIncompleteLog() : boolean from class alluxio.master.journal.ufs.UfsJournal.JournalFile | From | To | |
Rename Attribute | 3 | ||
Rename Attribute mCompletedLogs : List<JournalFile> to mLogs : List<JournalFile> in class alluxio.master.journal.ufs.UfsJournal.Snapshot | From | To | |
Rename Attribute mEnd : long to mFile : UfsJournal.JournalFile in class alluxio.master.journal.ufs.UfsJournalReader.JournalInputStream | From | To | |
Rename Attribute mCheckpoint : JournalFile to mCheckpoints : List<JournalFile> in class alluxio.master.journal.ufs.UfsJournal.Snapshot | From | To | |
Extract Method | 1 | ||
Extract Method private readInternal() : Journal.JournalEntry extracted from public read() : Journal.JournalEntry in class alluxio.master.journal.ufs.UfsJournalReader | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type mEnd : long to mFile : UfsJournal.JournalFile in class alluxio.master.journal.ufs.UfsJournalReader.JournalInputStream | From | To | |
Change Attribute Type mCheckpoint : JournalFile to mCheckpoints : List<JournalFile> in class alluxio.master.journal.ufs.UfsJournal.Snapshot | From | To | |
Rename Parameter | 1 | ||
Rename Parameter checkpoint : JournalFile to checkpoints : List<JournalFile> in method package Snapshot(checkpoints List<JournalFile>, logs List<JournalFile>, temporaryCheckpoints List<JournalFile>) in class alluxio.master.journal.ufs.UfsJournal.Snapshot | From | To |