703ce23eb7b70bd0c3d76f523035d789f768bcc9
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 41
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 4 | ||
Move And Rename Method private getTreeReaderFactory(trfName String) : TreeReaderFactory from class edu.stanford.nlp.trees.tregex.gui.PreferencesPanel to package lookupTreeReaderFactory(trfName String) : TreeReaderFactory from class edu.stanford.nlp.trees.tregex.gui.Preferences | From | To | |
Move And Rename Method private getHeadfinder(headfinderName String) : HeadFinder from class edu.stanford.nlp.trees.tregex.gui.PreferencesPanel to package lookupHeadFinder(headfinderName String) : HeadFinder from class edu.stanford.nlp.trees.tregex.gui.Preferences | From | To | |
Move And Rename Method private setArabicFont() : void from class edu.stanford.nlp.trees.tregex.gui.PreferencesPanel to private setChineseFont() : void from class edu.stanford.nlp.trees.tregex.gui.TregexGUI | From | To | |
Move And Rename Method private setChineseFont() : void from class edu.stanford.nlp.trees.tregex.gui.PreferencesPanel to private setArabicFont() : void from class edu.stanford.nlp.trees.tregex.gui.TregexGUI | From | To | |
Move Method | 4 | ||
Move Method public getFontSize() : int from class edu.stanford.nlp.trees.tregex.gui.DisplayMatchesPanel to public getFontSize() : int from class edu.stanford.nlp.trees.tregex.gui.Preferences | From | To | |
Move Method public getMatchedColor() : Color from class edu.stanford.nlp.trees.tregex.gui.DisplayMatchesPanel to public getMatchedColor() : Color from class edu.stanford.nlp.trees.tregex.gui.Preferences | From | To | |
Move Method public getMaxMatches() : int from class edu.stanford.nlp.trees.tregex.gui.MatchesPanel to public getMaxMatches() : int from class edu.stanford.nlp.trees.tregex.gui.Preferences | From | To | |
Move Method public getHighlightColor() : Color from class edu.stanford.nlp.trees.tregex.gui.MatchesPanel to public getHighlightColor() : Color from class edu.stanford.nlp.trees.tregex.gui.Preferences | From | To | |
Extract Class | 2 | ||
Extract Class edu.stanford.nlp.trees.tregex.gui.Preferences from class edu.stanford.nlp.trees.tregex.gui.DisplayMatchesPanel | From | To | |
Extract Class edu.stanford.nlp.trees.tregex.gui.Preferences from class edu.stanford.nlp.trees.tregex.gui.MatchesPanel | From | To | |
Extract Variable | 1 | ||
Extract Variable coord : Point2D.Double in method protected paintTree(t Tree, start Point2D, g2 Graphics2D, fM FontMetrics, paintColor Color) : double from class edu.stanford.nlp.trees.tregex.gui.ScrollableTreeJPanel | From | To | |
Change Variable Type | 1 | ||
Change Variable Type counterEntries : Set to counterEntries : Set<Map.Entry<List<Serializable>,ClassicCounter<Symbol>>> in method public finishTraining() : void in class edu.stanford.nlp.parser.lexparser.ChineseCharacterBasedLexicon | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type preferenceDialog : JDialog to preferenceDialog : PreferencesPanel in class edu.stanford.nlp.trees.tregex.gui.TregexGUI | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method package loadPreferences() : void extracted from private syncFromPrefPanel(font String, fontSize Integer, treeColor Color, matchedColor Color, highlightColor Color, historySize Integer, maxMatches Integer, enableTsurgeon boolean, matchPortionOnly boolean, hf HeadFinder, trf TreeReaderFactory, encoding String) : void in class edu.stanford.nlp.trees.tregex.gui.PreferencesPanel & moved to class edu.stanford.nlp.trees.tregex.gui.TregexGUI | From | To |