c80786177ba656d2b697bfd66f88a3b13b0e0879
Files Diff
- Added: 0
- Removed: 1
- Renamed: 0
- Modified: 5
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method private getChunkTagsForReadings(tokenReadings List<AnalyzedTokenReadings>) : List<ChunkTaggedToken> renamed to package getBasicChunks(tokenReadings List<AnalyzedTokenReadings>) : List<ChunkTaggedToken> in class org.languagetool.chunking.GermanChunker | From | To | |
| Move Method | 1 | ||
| Move Method private build(expr String, phraseType PhraseType, overwrite boolean) : RegularExpressionWithPhraseType from class org.languagetool.chunking.GermanChunkFilter to private build(expr String, phraseType PhraseType, overwrite boolean) : RegularExpressionWithPhraseType from class org.languagetool.chunking.GermanChunker | From | To | |
| Rename Variable | 2 | ||
| Rename Variable tokens : List<ChunkTaggedToken> to chunkTaggedTokens : List<ChunkTaggedToken> in method package getBasicChunks(tokenReadings List<AnalyzedTokenReadings>) : List<ChunkTaggedToken> in class org.languagetool.chunking.GermanChunker | From | To | |
| Rename Variable chunkTags : List<ChunkTaggedToken> to chunkTaggedTokens : List<ChunkTaggedToken> in method public addChunkTags(tokenReadings List<AnalyzedTokenReadings>) : void in class org.languagetool.chunking.GermanChunker | From | To | |
| Inline Method | 1 | ||
| Inline Method private apply(regex RegularExpressionWithPhraseType, tokens List<ChunkTaggedToken>, overwrite boolean) : List<ChunkTaggedToken> inlined to private apply(regex RegularExpressionWithPhraseType, tokens List<ChunkTaggedToken>) : List<ChunkTaggedToken> in class org.languagetool.chunking.GermanChunker | From | To | |
| Parameterize Variable | 1 | ||
| Parameterize Variable outputChunks : List<List<String>> to basicChunks : List<ChunkTaggedToken> in method private assertChunks(input String, plainInput String, basicChunks List<ChunkTaggedToken>, expectedChunks List<String>) : void in class org.languagetool.chunking.GermanChunkerTest | From | To | |
| Change Variable Type | 2 | ||
| Change Variable Type outputChunksHere : List<String> to outputChunksHere : ChunkTaggedToken in method private assertChunks(input String, plainInput String, basicChunks List<ChunkTaggedToken>, expectedChunks List<String>) : void in class org.languagetool.chunking.GermanChunkerTest | From | To | |
| Change Variable Type outputChunks : List<List<String>> to basicChunks : List<ChunkTaggedToken> in method private assertChunks(input String, plainInput String, basicChunks List<ChunkTaggedToken>, expectedChunks List<String>) : void in class org.languagetool.chunking.GermanChunkerTest | From | To | |
| Extract Variable | 1 | ||
| Extract Variable chunkTags : List<ChunkTag> in method package getBasicChunks(tokenReadings List<AnalyzedTokenReadings>) : List<ChunkTaggedToken> from class org.languagetool.chunking.GermanChunker | From | To | |
| Extract Method | 2 | ||
| Extract Method private build(expr String, phraseType PhraseType, overwrite boolean) : RegularExpressionWithPhraseType extracted from private build(expr String, phraseType PhraseType) : RegularExpressionWithPhraseType in class org.languagetool.chunking.GermanChunker | From | To | |
| Extract Method private assertChunks(input String, plainInput String, basicChunks List<ChunkTaggedToken>, expectedChunks List<String>) : void extracted from private assertChunks(input String) : void in class org.languagetool.chunking.GermanChunkerTest | From | To |