cf41e9c2ec6250f767120f71b1facc1cb9ee8180
Files Diff
- Added: 9
- Removed: 0
- Renamed: 0
- Modified: 29
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 7 | ||
Pull Up Method protected visitUnknown(unknownComponent Component, path Path<T>) : void from class org.sonar.server.computation.component.PathAwareCrawler to public visitUnknown(unknownComponent Component, path Path<T>) : void from class org.sonar.server.computation.component.PathAwareVisitorAdapter | From | To | |
Pull Up Method protected visitDirectory(directory Component, path Path<T>) : void from class org.sonar.server.computation.component.PathAwareCrawler to public visitDirectory(directory Component, path Path<T>) : void from class org.sonar.server.computation.component.PathAwareVisitorAdapter | From | To | |
Pull Up Method protected visitModule(module Component, path Path<T>) : void from class org.sonar.server.computation.component.PathAwareCrawler to public visitModule(module Component, path Path<T>) : void from class org.sonar.server.computation.component.PathAwareVisitorAdapter | From | To | |
Pull Up Method protected visitProject(project Component, path Path<T>) : void from class org.sonar.server.computation.component.PathAwareCrawler to public visitProject(project Component, path Path<T>) : void from class org.sonar.server.computation.component.PathAwareVisitorAdapter | From | To | |
Pull Up Method protected visitAny(component Component, path Path<T>) : void from class org.sonar.server.computation.component.PathAwareCrawler to public visitAny(component Component, path Path<T>) : void from class org.sonar.server.computation.component.PathAwareVisitorAdapter | From | To | |
Pull Up Method public PathAwareCrawler(maxDepth Component.Type, order Order, factory StackElementFactory<T>) from class org.sonar.server.computation.component.PathAwareCrawler to public PathAwareVisitorAdapter(maxDepth Component.Type, order Order, factory StackElementFactory<T>) from class org.sonar.server.computation.component.PathAwareVisitorAdapter | From | To | |
Pull Up Method protected visitFile(file Component, path Path<T>) : void from class org.sonar.server.computation.component.PathAwareCrawler to public visitFile(file Component, path Path<T>) : void from class org.sonar.server.computation.component.PathAwareVisitorAdapter | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type order : Order to order : Visitor.Order in method protected DepthTraversalTypeAwareCrawler(maxDepth Component.Type, order Visitor.Order) in class org.sonar.server.computation.component.DepthTraversalTypeAwareCrawler | From | To | |
Change Parameter Type pathElement : PathElement<T> to pathElement : PathAwareVisitor.PathElement<T> in method public add(pathElement PathAwareVisitor.PathElement<T>) : void in class org.sonar.server.computation.component.DequeBasedPath | From | To | |
Change Parameter Type order : ComponentCrawler.Order to order : Visitor.Order in method public TestPathAwareCrawler(maxDepth Component.Type, order Visitor.Order) in class org.sonar.server.computation.component.PathAwareCrawlerTest.TestPathAwareCrawler | From | To | |
Pull Up Attribute | 3 | ||
Pull Up Attribute private maxDepth : Component.Type from class org.sonar.server.computation.component.PathAwareCrawler to private maxDepth : Component.Type from class org.sonar.server.computation.component.PathAwareVisitorAdapter | From | To | |
Pull Up Attribute private factory : StackElementFactory<T> from class org.sonar.server.computation.component.PathAwareCrawler to private factory : StackElementFactory<T> from class org.sonar.server.computation.component.PathAwareVisitorAdapter | From | To | |
Pull Up Attribute private order : Order from class org.sonar.server.computation.component.PathAwareCrawler to private order : Order from class org.sonar.server.computation.component.PathAwareVisitorAdapter | From | To | |
Change Return Type | 3 | ||
Change Return Type Iterator<PathElement<T>> to Iterator<PathAwareVisitor.PathElement<T>> in method public iterator() : Iterator<PathAwareVisitor.PathElement<T>> in class org.sonar.server.computation.component.DequeBasedPath | From | To | |
Change Return Type Iterable<PathElement<T>> to Iterable<PathAwareVisitor.PathElement<T>> in method public getCurrentPath() : Iterable<PathAwareVisitor.PathElement<T>> in class org.sonar.server.computation.component.DequeBasedPath | From | To | |
Change Return Type PathElement<T> to PathAwareVisitor.PathElement<T> in method public pop() : PathAwareVisitor.PathElement<T> in class org.sonar.server.computation.component.DequeBasedPath | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class org.sonar.server.computation.component.PathAwareCrawler.PathElement moved and renamed to org.sonar.server.computation.component.PathAwareVisitor.PathElement | From | To | |
Move Class | 3 | ||
Move Class org.sonar.server.computation.component.PathAwareCrawler.StackElementFactory moved to org.sonar.server.computation.component.PathAwareVisitor.StackElementFactory | From | To | |
Move Class org.sonar.server.computation.component.PathAwareCrawler.DequeBasedPath moved to org.sonar.server.computation.component.DequeBasedPath | From | To | |
Move Class org.sonar.server.computation.component.ComponentCrawler.Order moved to org.sonar.server.computation.component.Visitor.Order | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.sonar.server.computation.component.PathAwareVisitorAdapter from classes [org.sonar.server.computation.component.PathAwareCrawler] | From | To | |
Change Variable Type | 1 | ||
Change Variable Type iterator : Iterator<PathElement<T>> to iterator : Iterator<PathAwareVisitor.PathElement<T>> in method public parent() : T in class org.sonar.server.computation.component.DequeBasedPath | From | To | |
Extract Interface | 1 | ||
Extract Interface org.sonar.server.computation.component.TypeAwareVisitor from classes [org.sonar.server.computation.component.TypeAwareCrawler] | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type deque : Deque<PathElement<T>> to deque : Deque<PathAwareVisitor.PathElement<T>> in class org.sonar.server.computation.component.DequeBasedPath | From | To | |
Change Attribute Type order : Order to order : Visitor.Order in class org.sonar.server.computation.component.DepthTraversalTypeAwareCrawler | From | To |