2db67342b55064ee7856c50745063d29f84b34cb
Files Diff
- Added: 1
- Removed: 10
- Renamed: 0
- Modified: 77
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Move And Inline Method | 2 | ||
| Move And Inline Method private sendAndGetResponse(httpExchange HttpExchange, response byte[]) : void moved from class edu.stanford.nlp.pipeline.StanfordCoreNLPServer to class edu.stanford.nlp.pipeline.StanfordCoreNLPServer.TokensRegexHandler & inlined to public handle(httpExchange HttpExchange) : void | From | To | |
| Move And Inline Method private sendAndGetResponse(httpExchange HttpExchange, response byte[]) : void moved from class edu.stanford.nlp.pipeline.StanfordCoreNLPServer to class edu.stanford.nlp.pipeline.StanfordCoreNLPServer.SemgrexHandler & inlined to public handle(httpExchange HttpExchange) : void | From | To | |
| Inline Method | 4 | ||
| Inline Method private runTest(input String, expected String[], sentenceFinalPuncWords String[], whitespaceTokenize boolean) : void inlined to public testSetSentencePunctWords() : void in class edu.stanford.nlp.process.DocumentPreprocessorTest | From | To | |
| Inline Method public tripleToString(extraction RelationTriple, docid String, sentence CoreMap) : String inlined to private processDocument(pipeline AnnotationPipeline, docid String, document String) : void in class edu.stanford.nlp.naturalli.OpenIE | From | To | |
| Inline Method private runSpanish(tf TokenizerFactory<CoreLabel>, inputs String[], gold String[][]) : void inlined to public testSpanishTokenizerWord() : void in class edu.stanford.nlp.international.spanish.SpanishTokenizerITest | From | To | |
| Inline Method private runTest(input String, expected String[], sentenceFinalPuncWords String[], whitespaceTokenize boolean) : void inlined to public testWhitespaceTokenization() : void in class edu.stanford.nlp.process.DocumentPreprocessorTest | From | To | |
| Rename Attribute | 2 | ||
| Rename Attribute spanishGold : String[][] to ptbGold : String[][] in class edu.stanford.nlp.international.spanish.SpanishTokenizerITest | From | To | |
| Rename Attribute spanishInputs : String[] to ptbInputs : String[] in class edu.stanford.nlp.international.spanish.SpanishTokenizerITest | From | To | |
| Change Variable Type | 2 | ||
| Change Variable Type results : List<String> to results : ArrayList<String> in method public testWhitespaceTokenization() : void in class edu.stanford.nlp.process.DocumentPreprocessorTest | From | To | |
| Change Variable Type results : List<String> to results : ArrayList<String> in method public testSetSentencePunctWords() : void in class edu.stanford.nlp.process.DocumentPreprocessorTest | From | To |