6a6a764016116403857d909c0ce24bd9fc26ef8d
Files Diff
- Added: 3
- Removed: 3
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Push Down Method | 7 | ||
Push Down Method private notifyListeners(event DocumentTreeEvent<byte[]>) : void from class io.atomix.core.tree.impl.DocumentTreeService to private notifyListeners(event DocumentTreeEvent<byte[]>) : void from class io.atomix.core.tree.impl.DefaultDocumentTreeService | From | To | |
Push Down Method public serializer() : Serializer from class io.atomix.core.tree.impl.DocumentTreeService to public serializer() : Serializer from class io.atomix.core.tree.impl.DefaultDocumentTreeService | From | To | |
Push Down Method private isLocked(path DocumentPath) : boolean from class io.atomix.core.tree.impl.DocumentTreeService to private isLocked(path DocumentPath) : boolean from class io.atomix.core.tree.impl.DefaultDocumentTreeService | From | To | |
Push Down Method public onExpire(session PrimitiveSession) : void from class io.atomix.core.tree.impl.DocumentTreeService to public onExpire(session PrimitiveSession) : void from class io.atomix.core.tree.impl.DefaultDocumentTreeService | From | To | |
Push Down Method public restore(reader BackupInput) : void from class io.atomix.core.tree.impl.DocumentTreeService to public restore(reader BackupInput) : void from class io.atomix.core.tree.impl.DefaultDocumentTreeService | From | To | |
Push Down Method public onClose(session PrimitiveSession) : void from class io.atomix.core.tree.impl.DocumentTreeService to public onClose(session PrimitiveSession) : void from class io.atomix.core.tree.impl.DefaultDocumentTreeService | From | To | |
Push Down Method public backup(writer BackupOutput) : void from class io.atomix.core.tree.impl.DocumentTreeService to public backup(writer BackupOutput) : void from class io.atomix.core.tree.impl.DefaultDocumentTreeService | From | To | |
Extract Subclass | 1 | ||
Extract Subclass io.atomix.core.tree.impl.DefaultDocumentTreeService from class io.atomix.core.tree.impl.DocumentTreeService | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type listener : Listener to path : DocumentPath in method public add(path DocumentPath) : void in class io.atomix.core.tree.impl.DefaultDocumentTreeService.SessionListenCommits | From | To | |
Change Parameter Type sessionId : Long to sessionId : SessionId in method private closeListener(sessionId SessionId) : void in class io.atomix.core.tree.impl.DefaultDocumentTreeService | From | To | |
Move Method | 2 | ||
Move Method private closeListener(sessionId Long) : void from class io.atomix.core.tree.impl.DocumentTreeService to private closeListener(sessionId SessionId) : void from class io.atomix.core.tree.impl.DefaultDocumentTreeService | From | To | |
Move Method protected clear(commit Commit<Void>) : void from class io.atomix.core.tree.impl.DocumentTreeService to public clear() : void from class io.atomix.core.tree.impl.DefaultDocumentTreeService | From | To | |
Push Down Attribute | 4 | ||
Push Down Attribute private versionCounter : AtomicLong from class io.atomix.core.tree.impl.DocumentTreeService to private versionCounter : AtomicLong from class io.atomix.core.tree.impl.DefaultDocumentTreeService | From | To | |
Push Down Attribute private docTree : DocumentTree<byte[]> from class io.atomix.core.tree.impl.DocumentTreeService to private docTree : DocumentTree<byte[]> from class io.atomix.core.tree.impl.DefaultDocumentTreeService | From | To | |
Push Down Attribute private preparedKeys : Set<DocumentPath> from class io.atomix.core.tree.impl.DocumentTreeService to private preparedKeys : Set<DocumentPath> from class io.atomix.core.tree.impl.DefaultDocumentTreeService | From | To | |
Push Down Attribute private serializer : Serializer from class io.atomix.core.tree.impl.DocumentTreeService to private serializer : Serializer from class io.atomix.core.tree.impl.DefaultDocumentTreeService | From | To | |
Rename Class | 1 | ||
Rename Class io.atomix.core.tree.impl.DocumentTreeServiceTest renamed to io.atomix.core.tree.impl.DefaultDocumentTreeServiceTest | From | To | |
Move Class | 1 | ||
Move Class io.atomix.core.tree.impl.DocumentTreeService.SessionListenCommits moved to io.atomix.core.tree.impl.DefaultDocumentTreeService.SessionListenCommits | From | To | |
Change Variable Type | 1 | ||
Change Variable Type service : DocumentTreeService to service : DefaultDocumentTreeService in method public testSnapshot() : void in class io.atomix.core.tree.impl.DefaultDocumentTreeServiceTest | From | To | |
Rename Parameter | 1 | ||
Rename Parameter listener : Listener to path : DocumentPath in method public add(path DocumentPath) : void in class io.atomix.core.tree.impl.DefaultDocumentTreeService.SessionListenCommits | From | To |