95a153b46fb3099e627d9a4fc35cc625652b1eae
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 155
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Pull Up Method | 4 | ||
| Pull Up Method package satisfies(l1 IndexedWord, l2 IndexedWord, sg SemanticGraph) : boolean from class edu.stanford.nlp.semgraph.semgrex.GraphRelation.GRANDPARENT to package satisfies(l1 IndexedWord, l2 IndexedWord, sg SemanticGraph) : boolean from class edu.stanford.nlp.semgraph.semgrex.GraphRelation.GRANDSOMETHING | From | To | |
| Pull Up Method package searchNodeIterator(node IndexedWord, sg SemanticGraph) : Iterator<IndexedWord> from class edu.stanford.nlp.semgraph.semgrex.GraphRelation.GRANDPARENT to package searchNodeIterator(node IndexedWord, sg SemanticGraph) : Iterator<IndexedWord> from class edu.stanford.nlp.semgraph.semgrex.GraphRelation.GRANDSOMETHING | From | To | |
| Pull Up Method package satisfies(l1 IndexedWord, l2 IndexedWord, sg SemanticGraph) : boolean from class edu.stanford.nlp.semgraph.semgrex.GraphRelation.GRANDKID to package satisfies(l1 IndexedWord, l2 IndexedWord, sg SemanticGraph) : boolean from class edu.stanford.nlp.semgraph.semgrex.GraphRelation.GRANDSOMETHING | From | To | |
| Pull Up Method package searchNodeIterator(node IndexedWord, sg SemanticGraph) : Iterator<IndexedWord> from class edu.stanford.nlp.semgraph.semgrex.GraphRelation.GRANDKID to package searchNodeIterator(node IndexedWord, sg SemanticGraph) : Iterator<IndexedWord> from class edu.stanford.nlp.semgraph.semgrex.GraphRelation.GRANDSOMETHING | From | To | |
| Change Parameter Type | 2 | ||
| Change Parameter Type usedNodes : List<IndexedWord> to usedNodes : Set<IndexedWord> in method private satisfyHelper(node IndexedWord, l2 IndexedWord, sg SemanticGraph, usedNodes Set<IndexedWord>) : boolean in class edu.stanford.nlp.semgraph.semgrex.GraphRelation.GRANDSOMETHING | From | To | |
| Move Method | 2 | ||
| Move Method private satisfyHelper(parent IndexedWord, l2 IndexedWord, sg SemanticGraph, usedNodes List<IndexedWord>) : boolean from class edu.stanford.nlp.semgraph.semgrex.GraphRelation.GRANDPARENT to private satisfyHelper(node IndexedWord, l2 IndexedWord, sg SemanticGraph, usedNodes Set<IndexedWord>) : boolean from class edu.stanford.nlp.semgraph.semgrex.GraphRelation.GRANDSOMETHING | From | To | |
| Move Method private satisfyHelper(child IndexedWord, l2 IndexedWord, sg SemanticGraph, usedNodes List<IndexedWord>) : boolean from class edu.stanford.nlp.semgraph.semgrex.GraphRelation.GRANDKID to private satisfyHelper(node IndexedWord, l2 IndexedWord, sg SemanticGraph, usedNodes Set<IndexedWord>) : boolean from class edu.stanford.nlp.semgraph.semgrex.GraphRelation.GRANDSOMETHING | From | To | |
| Change Return Type | 3 | ||
| Change Return Type List<IndexedWord> to Set<IndexedWord> in method public getChildrenWithRelns(vertex IndexedWord, relns Collection<GrammaticalRelation>) : Set<IndexedWord> in class edu.stanford.nlp.semgraph.SemanticGraph | From | To | |
| Change Return Type List<IndexedWord> to Set<IndexedWord> in method public getChildrenWithReln(vertex IndexedWord, reln GrammaticalRelation) : Set<IndexedWord> in class edu.stanford.nlp.semgraph.SemanticGraph | From | To | |
| Change Return Type List<IndexedWord> to Set<IndexedWord> in method public getParentsWithReln(vertex IndexedWord, reln GrammaticalRelation) : Set<IndexedWord> in class edu.stanford.nlp.semgraph.SemanticGraph | From | To | |
| Extract Superclass | 1 | ||
| Extract Superclass edu.stanford.nlp.semgraph.semgrex.GraphRelation.GRANDSOMETHING from classes [edu.stanford.nlp.semgraph.semgrex.GraphRelation.GRANDPARENT, edu.stanford.nlp.semgraph.semgrex.GraphRelation.GRANDKID] | From | To | |
| Change Variable Type | 3 | ||
| Change Variable Type quant : List<IndexedWord> to quant : Set<IndexedWord> in method public getQuantification(dict Dictionaries) : String in class edu.stanford.nlp.dcoref.Mention | From | To | |
| Change Variable Type poss : List<IndexedWord> to poss : Set<IndexedWord> in method public getQuantification(dict Dictionaries) : String in class edu.stanford.nlp.dcoref.Mention | From | To | |
| Change Variable Type buf : StringBuffer to buf : StringBuilder in method private parseToken(pattern String, indexRef int[]) : String in class edu.stanford.nlp.time.TimeFormatter | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter parent : IndexedWord to node : IndexedWord in method private satisfyHelper(node IndexedWord, l2 IndexedWord, sg SemanticGraph, usedNodes Set<IndexedWord>) : boolean in class edu.stanford.nlp.semgraph.semgrex.GraphRelation.GRANDSOMETHING | From | To | |
| Rename Parameter child : IndexedWord to node : IndexedWord in method private satisfyHelper(node IndexedWord, l2 IndexedWord, sg SemanticGraph, usedNodes Set<IndexedWord>) : boolean in class edu.stanford.nlp.semgraph.semgrex.GraphRelation.GRANDSOMETHING | From | To |