5e59d0f67723a8e71dea819026a4589565da8603
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Parameterize Variable | 6 | ||
| Parameterize Variable test : String to input : String in method private runTest(input String, expected String[], sentenceFinalPuncWords String[], whitespaceTokenize boolean) : void in class edu.stanford.nlp.process.DocumentPreprocessorTest | From | To | |
| Parameterize Variable expectedResults : String[] to expected : String[] in method private runTest(input String, expected String[], sentenceFinalPuncWords String[], whitespaceTokenize boolean) : void in class edu.stanford.nlp.process.DocumentPreprocessorTest | From | To | |
| Change Variable Type | 3 | ||
| Change Variable Type results : ArrayList<String> to results : List<String> in method private runTest(input String, expected String[], sentenceFinalPuncWords String[], whitespaceTokenize boolean) : void in class edu.stanford.nlp.process.DocumentPreprocessorTest | From | To | |
| Extract Method | 3 | ||
| Extract Method private runTest(input String, expected String[]) : void extracted from public testText() : void in class edu.stanford.nlp.process.DocumentPreprocessorTest | From | To | |
| Extract Method private runTest(input String, expected String[], sentenceFinalPuncWords String[], whitespaceTokenize boolean) : void extracted from public testWhitespaceTokenization() : void in class edu.stanford.nlp.process.DocumentPreprocessorTest | From | To | |
| Extract Method private runTest(input String, expected String[], sentenceFinalPuncWords String[], whitespaceTokenize boolean) : void extracted from public testSetSentencePunctWords() : void in class edu.stanford.nlp.process.DocumentPreprocessorTest | From | To |