9e31e89135ff8e95e3d2981bbb97b59e9c2f5458
Files Diff
- Added: 0
- Removed: 1
- Renamed: 0
- Modified: 20
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Inline Method | 3 | ||
Move And Inline Method public release() : void moved from class org.apache.bookkeeper.mledger.impl.EntryImpl to class org.apache.bookkeeper.mledger.impl.EntryCacheImpl & inlined to public asyncReadEntry(lh LedgerHandle, position PositionImpl, callback ReadEntryCallback, ctx Object) : void | From | To | |
Move And Inline Method public release() : void moved from class org.apache.bookkeeper.mledger.impl.EntryImpl to class org.apache.bookkeeper.mledger.impl.OpAddEntry & inlined to public safeRun() : void | From | To | |
Move And Inline Method public release() : void moved from class org.apache.bookkeeper.mledger.impl.EntryImpl to class org.apache.bookkeeper.mledger.impl.EntryCacheImpl & inlined to public insert(entry EntryImpl) : boolean | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type other : EntryImpl to recyclerHandle : Recycler.Handle in method private EntryImpl(recyclerHandle Recycler.Handle) in class org.apache.bookkeeper.mledger.impl.EntryImpl | From | To | |
Change Return Type | 1 | ||
Change Return Type void to boolean in method public release() : boolean in class org.apache.bookkeeper.mledger.Entry | From | To | |
Move Attribute | 1 | ||
Move Attribute private recyclerHandle : Handle from class org.apache.bookkeeper.mledger.impl.PositionImpl to private recyclerHandle : Handle from class org.apache.bookkeeper.mledger.impl.EntryImpl | From | To | |
Extract Variable | 8 | ||
Extract Variable position : Position in method public readEntriesComplete(entries List<Entry>, ctx Object) : void from class org.apache.bookkeeper.mledger.impl.ManagedLedgerTest.asyncAPI.asyncOpen.openLedgerComplete.asyncOpenCursor.openCursorComplete.asyncAddEntry.addComplete.asyncReadEntries | From | To | |
Extract Variable position : Position in method public openLedgerComplete(ledger ManagedLedger, ctx Object) : void from class org.apache.bookkeeper.mledger.impl.ManagedLedgerTest.asyncAPI.asyncOpen | From | To | |
Extract Variable position : PositionImpl in method public insert(entry EntryImpl) : boolean from class org.apache.bookkeeper.mledger.impl.EntryCacheImpl | From | To | |
Extract Variable position : Position in method public addComplete(position Position, ctx Object) : void from class org.apache.bookkeeper.mledger.impl.ManagedLedgerTest.asyncAPI.asyncOpen.openLedgerComplete.asyncOpenCursor.openCursorComplete.asyncAddEntry | From | To | |
Extract Variable position : Position in method public openCursorComplete(cursor ManagedCursor, ctx Object) : void from class org.apache.bookkeeper.mledger.impl.ManagedLedgerTest.asyncAPI.asyncOpen.openLedgerComplete.asyncOpenCursor | From | To | |
Extract Variable position : Position in method public asyncAPI() : void from class org.apache.bookkeeper.mledger.impl.ManagedLedgerTest | From | To | |
Extract Variable position : Position in method public readEntryComplete(entry Entry, ctx Object) : void from class org.apache.bookkeeper.mledger.impl.OpFindNewest | From | To | |
Extract Variable nexReadPosition : Position in method public readEntriesComplete(returnedEntries List<Entry>, ctx Object) : void from class org.apache.bookkeeper.mledger.impl.OpReadEntry | From | To | |
Rename Parameter | 1 | ||
Rename Parameter other : EntryImpl to recyclerHandle : Recycler.Handle in method private EntryImpl(recyclerHandle Recycler.Handle) in class org.apache.bookkeeper.mledger.impl.EntryImpl | From | To |