d7f0bd295c902bd624fe75a0b74b3832f2d86ad7
Files Diff
- Added: 1
- Removed: 2
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Inline Method | 1 | ||
Move And Inline Method public topologicalSort() : List<V> moved from class edu.stanford.nlp.graph.DirectedMultiGraph to class edu.stanford.nlp.semgraph.SemanticGraph & inlined to public topologicalSort() : List<IndexedWord> | From | To | |
Change Parameter Type | 4 | ||
Change Parameter Type permanent : Set<V> to permanent : Set<IndexedWord> in method private topologicalSortHelper(vertex IndexedWord, temporary Set<IndexedWord>, permanent Set<IndexedWord>, result List<IndexedWord>) : void in class edu.stanford.nlp.semgraph.SemanticGraph | From | To | |
Change Parameter Type vertex : V to vertex : IndexedWord in method private topologicalSortHelper(vertex IndexedWord, temporary Set<IndexedWord>, permanent Set<IndexedWord>, result List<IndexedWord>) : void in class edu.stanford.nlp.semgraph.SemanticGraph | From | To | |
Change Parameter Type temporary : Set<V> to temporary : Set<IndexedWord> in method private topologicalSortHelper(vertex IndexedWord, temporary Set<IndexedWord>, permanent Set<IndexedWord>, result List<IndexedWord>) : void in class edu.stanford.nlp.semgraph.SemanticGraph | From | To | |
Change Parameter Type result : List<V> to result : List<IndexedWord> in method private topologicalSortHelper(vertex IndexedWord, temporary Set<IndexedWord>, permanent Set<IndexedWord>, result List<IndexedWord>) : void in class edu.stanford.nlp.semgraph.SemanticGraph | From | To | |
Move Method | 1 | ||
Move Method private topologicalSortHelper(vertex V, temporary Set<V>, permanent Set<V>, result List<V>) : void from class edu.stanford.nlp.graph.DirectedMultiGraph to private topologicalSortHelper(vertex IndexedWord, temporary Set<IndexedWord>, permanent Set<IndexedWord>, result List<IndexedWord>) : void from class edu.stanford.nlp.semgraph.SemanticGraph | From | To | |
Rename Attribute | 2 | ||
Rename Attribute reverseEdges : Map<V,Map<V,List<E>>> to incomingEdges : Map<V,Map<V,List<E>>> in class edu.stanford.nlp.graph.DirectedMultiGraph.EdgeIterator | From | To | |
Rename Attribute currentEdge : E to lastRemoved : E in class edu.stanford.nlp.graph.DirectedMultiGraph.EdgeIterator | From | To | |
Inline Variable | 2 | ||
Inline Variable nextVertex : Map.Entry<V,Map<V,List<E>>> in method private primeIterator() : void from class edu.stanford.nlp.graph.DirectedMultiGraph.EdgeIterator | From | To | |
Inline Variable nextConnection : Map.Entry<V,List<E>> in method private primeIterator() : void from class edu.stanford.nlp.graph.DirectedMultiGraph.EdgeIterator | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type vertexIterator : Iterator<Map.Entry<V,Map<V,List<E>>>> to vertexIterator : Iterator<Map<V,List<E>>> in class edu.stanford.nlp.graph.DirectedMultiGraph.EdgeIterator | From | To | |
Change Attribute Type connectionIterator : Iterator<Map.Entry<V,List<E>>> to connectionIterator : Iterator<List<E>> in class edu.stanford.nlp.graph.DirectedMultiGraph.EdgeIterator | From | To |