19f24eb3f6fae71ae3950fd3f5ee28ce6d9849fe
Files Diff
- Added: 0
- Removed: 2
- Renamed: 0
- Modified: 50
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private getGenderCount(dict Dictionaries, mStr List<String>) : int[] renamed to private getGender(dict Dictionaries, mStr List<String>) : Gender in class edu.stanford.nlp.dcoref.Mention | From | To | |
Change Parameter Type | 5 | ||
Change Parameter Type randomSeed : int to randomSeed : long in method public randomize(randomSeed long) : void in class edu.stanford.nlp.classify.GeneralDataset | From | To | |
Change Parameter Type initialFiles : String... to initialFiles : List<String> in method private TregexGUI(props Properties, initialFiles List<String>) in class edu.stanford.nlp.trees.tregex.gui.TregexGUI | From | To | |
Change Parameter Type genderNumberCount : int[] to genderNumberResult : Gender in method private setGender(dict Dictionaries, genderNumberResult Gender) : void in class edu.stanford.nlp.dcoref.Mention | From | To | |
Change Parameter Type randomSeed : int to randomSeed : long in method public randomize(randomSeed long) : void in class edu.stanford.nlp.classify.WeightedDataset | From | To | |
Change Parameter Type randomSeed : int to randomSeed : long in method public randomize(randomSeed long) : void in class edu.stanford.nlp.classify.RVFDataset | From | To | |
Rename Variable | 6 | ||
Rename Variable newVals : Object[] to newValues : Object[] in method public setCapacity(newSize int) : void in class edu.stanford.nlp.util.ArrayCoreMap | From | To | |
Rename Variable newVals : Object[] to newValues : Object[] in method public compact() : void in class edu.stanford.nlp.util.ArrayCoreMap | From | To | |
Rename Variable tmpw : float to tmpW : float in method public randomize(randomSeed long) : void in class edu.stanford.nlp.classify.WeightedDataset | From | To | |
Rename Variable newVals : Object[] to newValues : Object[] in method public set(key Class<? extends Key<VALUE>>, value VALUE) : VALUE in class edu.stanford.nlp.util.ArrayCoreMap | From | To | |
Rename Variable counts : int[] to gender : Gender in method private loadGenderNumber(file String, neutralWordsFile String) : void in class edu.stanford.nlp.dcoref.Dictionaries | From | To | |
Rename Variable tmpl : int to tmpL : int in method public randomize(randomSeed long) : void in class edu.stanford.nlp.classify.WeightedDataset | From | To | |
Inline Method | 1 | ||
Inline Method private init(weightCounter Counter<? extends Pair<F,L>>, thresholdsC Counter<L>) : void inlined to public LinearClassifier(weightCounter Counter<? extends Pair<F,L>>, thresholdsC Counter<L>) in class edu.stanford.nlp.classify.LinearClassifier | From | To | |
Change Return Type | 2 | ||
Change Return Type int[] to Gender in method private getGender(dict Dictionaries, mStr List<String>) : Gender in class edu.stanford.nlp.dcoref.Mention | From | To | |
Change Return Type TregexPattern to DescriptionPattern in method public Node(r Relation) : DescriptionPattern in class edu.stanford.nlp.trees.tregex.TregexParser | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class edu.stanford.nlp.graph.NetworkFeatures.ThreeNodeStat moved and renamed to edu.stanford.nlp.trees.tregex.TregexParser.LookaheadSuccess | From | To | |
Change Variable Type | 3 | ||
Change Variable Type child : TregexPattern to child : DescriptionPattern in method public Relation() : TregexPattern in class edu.stanford.nlp.trees.tregex.TregexParser | From | To | |
Change Variable Type counts : int[] to gender : Gender in method private loadGenderNumber(file String, neutralWordsFile String) : void in class edu.stanford.nlp.dcoref.Dictionaries | From | To | |
Change Variable Type node : TregexPattern to node : DescriptionPattern in method public Node(r Relation) : DescriptionPattern in class edu.stanford.nlp.trees.tregex.TregexParser | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type index2Item : ConcurrentHashMap<Integer,E> to index2Item : AtomicReference<Object[]> in class edu.stanford.nlp.util.concurrent.ConcurrentHashIndex | From | To | |
Change Attribute Type genderNumber : Map<List<String>,int[]> to genderNumber : Map<List<String>,Gender> in class edu.stanford.nlp.dcoref.Dictionaries | From | To | |
Extract Method | 1 | ||
Extract Method private makeWeightCounter(weights double[], weightIndex Index<Pair<F,L>>) : Counter<Pair<F,L>> extracted from public LinearClassifier(weights double[], weightIndex Index<Pair<F,L>>) in class edu.stanford.nlp.classify.LinearClassifier | From | To | |
Rename Parameter | 3 | ||
Rename Parameter elems : Collection<E> to elements : Collection<E> in method public indices(elements Collection<E>) : int[] in class edu.stanford.nlp.util.HashIndex | From | To | |
Rename Parameter indices : int[] to indices : int[] in method public objects(indices int[]) : Collection<E> in class edu.stanford.nlp.util.concurrent.ConcurrentHashIndex | From | To | |
Rename Parameter genderNumberCount : int[] to genderNumberResult : Gender in method private setGender(dict Dictionaries, genderNumberResult Gender) : void in class edu.stanford.nlp.dcoref.Mention | From | To |