7d7293049ac5268d40eb2de4d6564c6bc9d18a39
Files Diff
- Added: 0
- Removed: 2
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private trackProcId(procId long) : void renamed to private trackProcIds(procId long) : void in class org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureMap | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type procs : Procedure<?>[] to procs : Procedure[] in method private assertDeleted(tracker ProcedureStoreTracker, procs Procedure[], deletedProcs int[], nonDeletedProcs int[]) : void in class org.apache.hadoop.hbase.procedure2.store.wal.TestWALProcedureStore | From | To | |
Change Parameter Type procs : Procedure<?>[] to procs : Procedure[] in method private assertUpdated(tracker ProcedureStoreTracker, procs Procedure[], updatedProcs int[], nonUpdatedProcs int[]) : void in class org.apache.hadoop.hbase.procedure2.store.wal.TestWALProcedureStore | From | To | |
Rename Variable | 3 | ||
Rename Variable runnableCount : int to runnablesCount : int in method private loadProcedures(procIter ProcedureIterator, abortOnCorruption boolean) : void in class org.apache.hadoop.hbase.procedure2.ProcedureExecutor | From | To | |
Rename Variable waitingTimeoutList : List<Procedure<TEnvironment>> to waitingSet : Set<Procedure<TEnvironment>> in method private loadProcedures(procIter ProcedureIterator, abortOnCorruption boolean) : void in class org.apache.hadoop.hbase.procedure2.ProcedureExecutor | From | To | |
Rename Variable waitingCount : int to corruptedCount : int in method private loadProcedures(procIter ProcedureIterator, abortOnCorruption boolean) : void in class org.apache.hadoop.hbase.procedure2.ProcedureExecutor | From | To | |
Change Return Type | 2 | ||
Change Return Type Procedure<Void>[] to Procedure[] in method protected execute(env Void) : Procedure[] in class org.apache.hadoop.hbase.procedure2.store.wal.TestWALProcedureStore.TestSequentialProcedure | From | To | |
Change Return Type void to boolean in method public remove(procId long) : boolean in class org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureMap | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureTree.Iter moved and renamed to org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureMap.EntryIterator | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute waitingList : List<Procedure<TEnvironment>> to timeoutExecutor : TimeoutExecutorThread<TEnvironment> in method private loadProcedures(procIter ProcedureIterator, abortOnCorruption boolean) : void in class org.apache.hadoop.hbase.procedure2.ProcedureExecutor | From | To | |
Change Variable Type | 15 | ||
Change Variable Type proc1 : Procedure<?> to proc1 : Procedure in method public testNoTrailerDoubleRestart() : void in class org.apache.hadoop.hbase.procedure2.store.wal.TestWALProcedureStore | From | To | |
Change Variable Type procs : Procedure<?>[] to procs : Procedure[] in method public testCorruptedTrailersRebuild() : void in class org.apache.hadoop.hbase.procedure2.store.wal.TestWALProcedureStore | From | To | |
Change Variable Type proc2 : Procedure<?> to proc2 : Procedure in method public testLoad() : void in class org.apache.hadoop.hbase.procedure2.store.wal.TestWALProcedureStore | From | To | |
Change Variable Type procs : Procedure<?>[] to procs : Procedure[] in method public testWalCleanerWithEmptyRolls() : void in class org.apache.hadoop.hbase.procedure2.store.wal.TestWALProcedureStore | From | To | |
Change Variable Type proc2 : Procedure<?> to proc2 : Procedure in method public testNoTrailerDoubleRestart() : void in class org.apache.hadoop.hbase.procedure2.store.wal.TestWALProcedureStore | From | To | |
Change Variable Type proc1 : Procedure<?> to proc1 : Procedure in method public testRollAndRemove() : void in class org.apache.hadoop.hbase.procedure2.store.wal.TestWALProcedureStore | From | To | |
Change Variable Type waitingTimeoutList : List<Procedure<TEnvironment>> to waitingSet : Set<Procedure<TEnvironment>> in method private loadProcedures(procIter ProcedureIterator, abortOnCorruption boolean) : void in class org.apache.hadoop.hbase.procedure2.ProcedureExecutor | From | To | |
Change Variable Type proc2 : Procedure<?> to proc2 : Procedure in method public testRollAndRemove() : void in class org.apache.hadoop.hbase.procedure2.store.wal.TestWALProcedureStore | From | To | |
Change Variable Type proc1 : Procedure<?> to proc1 : Procedure in method public testLoad() : void in class org.apache.hadoop.hbase.procedure2.store.wal.TestWALProcedureStore | From | To | |
Change Variable Type child2 : Procedure<?>[] to child2 : Procedure[] in method public testLoad() : void in class org.apache.hadoop.hbase.procedure2.store.wal.TestWALProcedureStore | From | To | |
Change Variable Type proc0 : Procedure<?> to proc0 : Procedure in method public testNoTrailerDoubleRestart() : void in class org.apache.hadoop.hbase.procedure2.store.wal.TestWALProcedureStore | From | To | |
Change Variable Type proc : Procedure<?> to proc : Procedure in method public testCorruptedProcedures() : void in class org.apache.hadoop.hbase.procedure2.store.wal.TestWALProcedureStore | From | To | |
Change Variable Type waitingList : List<Procedure<TEnvironment>> to timeoutExecutor : TimeoutExecutorThread<TEnvironment> in method private loadProcedures(procIter ProcedureIterator, abortOnCorruption boolean) : void in class org.apache.hadoop.hbase.procedure2.ProcedureExecutor | From | To | |
Change Variable Type procs : Procedure<?>[] to procs : Procedure[] in method public testWalCleanerNoHoles() : void in class org.apache.hadoop.hbase.procedure2.store.wal.TestWALProcedureStore | From | To | |
Change Variable Type procs : Procedure<?>[] to procs : Procedure[] in method public testWalCleanerSequentialClean() : void in class org.apache.hadoop.hbase.procedure2.store.wal.TestWALProcedureStore | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type current : ProtoAndProc to current : Entry in class org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureMap.EntryIterator | From | To | |
Rename Parameter | 1 | ||
Rename Parameter proc : ProcedureProtos.Procedure to procProto : ProcedureProtos.Procedure in method public add(procProto ProcedureProtos.Procedure) : void in class org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureMap | From | To |