a1b0ca23a1a6b59e35238f9b3d6f721013fd2cc6
Files Diff
- Added: 1
- Removed: 2
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public mentions(properties Properties, name String) : Annotator renamed to public entityMentions(properties Properties, name String) : Annotator in class edu.stanford.nlp.pipeline.AnnotatorImplementations | From | To | |
Rename Method public create() : Annotator renamed to protected compute() : Annotator in class edu.stanford.nlp.pipeline.AnnotatorPoolTest.SampleAnnotatorFactory | From | To | |
Rename Variable | 1 | ||
Rename Variable oldFactory : AnnotatorFactory to oldAnnotator : CachedAnnotator in method public register(name String, props Properties, annotator Lazy<Annotator>) : boolean in class edu.stanford.nlp.pipeline.AnnotatorPool | From | To | |
Change Return Type | 1 | ||
Change Return Type Map<String,BiFunction<Properties,AnnotatorImplementations,AnnotatorFactory>> to Map<String,BiFunction<Properties,AnnotatorImplementations,Annotator>> in method private getNamedAnnotators() : Map<String,BiFunction<Properties,AnnotatorImplementations,Annotator>> in class edu.stanford.nlp.pipeline.StanfordCoreNLP | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class edu.stanford.nlp.pipeline.AnnotatorFactory moved and renamed to edu.stanford.nlp.pipeline.AnnotatorPool.CachedAnnotator | From | To | |
Extract Variable | 1 | ||
Extract Variable pipeline : StanfordCoreNLP in method public main(args String[]) : void from class edu.stanford.nlp.pipeline.StanfordCoreNLP | From | To | |
Change Variable Type | 5 | ||
Change Variable Type oldFactory : AnnotatorFactory to oldAnnotator : CachedAnnotator in method public register(name String, props Properties, annotator Lazy<Annotator>) : boolean in class edu.stanford.nlp.pipeline.AnnotatorPool | From | To | |
Change Variable Type entry : Map.Entry<String,BiFunction<Properties,AnnotatorImplementations,AnnotatorFactory>> to entry : Map.Entry<String,BiFunction<Properties,AnnotatorImplementations,Annotator>> in method public constructAnnotatorPool(inputProps Properties, annotatorImplementation AnnotatorImplementations) : AnnotatorPool in class edu.stanford.nlp.pipeline.StanfordCoreNLP | From | To | |
Change Variable Type pool : Map<String,BiFunction<Properties,AnnotatorImplementations,AnnotatorFactory>> to pool : Map<String,BiFunction<Properties,AnnotatorImplementations,Annotator>> in method private getNamedAnnotators() : Map<String,BiFunction<Properties,AnnotatorImplementations,Annotator>> in class edu.stanford.nlp.pipeline.StanfordCoreNLP | From | To | |
Change Variable Type entry : Map.Entry<String,BiFunction<Properties,AnnotatorImplementations,AnnotatorFactory>> to entry : Map.Entry<String,BiFunction<Properties,AnnotatorImplementations,Annotator>> in method public getDefaultAnnotatorPool(inputProps Properties, annotatorImplementation AnnotatorImplementations) : AnnotatorPool in class edu.stanford.nlp.pipeline.StanfordCoreNLP | From | To | |
Change Variable Type factory : AnnotatorFactory to factory : CachedAnnotator in method public get(name String) : Annotator in class edu.stanford.nlp.pipeline.AnnotatorPool | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type factories : Map<String,AnnotatorFactory> to factories : Map<String,CachedAnnotator> in class edu.stanford.nlp.pipeline.AnnotatorPool | From | To | |
Change Attribute Type customAnnotators : LinkedHashMap<String,Annotator> to customAnnotators : AnnotatorPool in class edu.stanford.nlp.simple.Document | From | To |