0e1e5b0dafc2569c88f1dd53291561d65c402bc9
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 14
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 2 | ||
Change Parameter Type callback : Function<Annotation,Object> to callback : Consumer<Annotation> in method public annotate(annotations Iterable<Annotation>, callback Consumer<Annotation>) : void in class edu.stanford.nlp.pipeline.AnnotationPipeline | From | To | |
Change Parameter Type callback : Function<Annotation,Object> to callback : Consumer<Annotation> in method public annotate(annotations Iterable<Annotation>, numThreads int, callback Consumer<Annotation>) : void in class edu.stanford.nlp.pipeline.AnnotationPipeline | From | To | |
Move Method | 3 | ||
Move Method private decodeArray(encoded String) : String[] from class edu.stanford.nlp.util.MetaClass to public decodeArray(encoded String) : String[] from class edu.stanford.nlp.util.StringUtils | From | To | |
Move Method protected cleanJSON(s String) : String from class edu.stanford.nlp.pipeline.JSONOutputter.JSONWriter to public cleanJSON(s String) : String from class edu.stanford.nlp.pipeline.JSONOutputter | From | To | |
Move Method private decodeMap(encoded String) : Map<String,String> from class edu.stanford.nlp.util.MetaClass to public decodeMap(encoded String) : Map<String,String> from class edu.stanford.nlp.util.StringUtils | From | To | |
Change Variable Type | 1 | ||
Change Variable Type outputFormat : OutputFormat to outputFormat : StanfordCoreNLP.OutputFormat in method public processFiles(base String, files Collection<File>, numThreads int) : void in class edu.stanford.nlp.pipeline.StanfordCoreNLP | From | To | |
Extract Method | 3 | ||
Extract Method protected createOutputter(properties Properties, outputOptions AnnotationOutputter.Options) : BiConsumer<Annotation,OutputStream> extracted from public processFiles(base String, files Collection<File>, numThreads int) : void in class edu.stanford.nlp.pipeline.StanfordCoreNLP | From | To | |
Extract Method protected processFiles(base String, files Collection<File>, numThreads int, properties Properties, annotate BiConsumer<Annotation,Consumer<Annotation>>, print BiConsumer<Annotation,OutputStream>, outputFormat OutputFormat) : void extracted from public processFiles(base String, files Collection<File>, numThreads int) : void in class edu.stanford.nlp.pipeline.StanfordCoreNLP | From | To | |
Extract Method public console(prompt String, callback Consumer<String>) : void extracted from public console(callback Consumer<String>) : void in class edu.stanford.nlp.io.IOUtils | From | To |