fd1cb133e75720d842593f519dc110975866fc6a
Files Diff
- Added: 5
- Removed: 0
- Renamed: 0
- Modified: 34
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private hasMultiword(analyzedTokenReadings AnalyzedTokenReadings) : boolean renamed to private getMultiwordToken(analyzedTokenReadings AnalyzedTokenReadings) : AnalyzedToken in class org.languagetool.rules.uk.TokenAgreementRule | From | To | |
Move Method | 3 | ||
Move Method private getNum(posTag String) : String from class org.languagetool.tagging.uk.UkrainianTagger to public getNum(posTag String) : String from class org.languagetool.tagging.uk.PosTagHelper | From | To | |
Move Method private getGenderConj(posTag String) : String from class org.languagetool.tagging.uk.UkrainianTagger to public getGenderConj(posTag String) : String from class org.languagetool.tagging.uk.PosTagHelper | From | To | |
Move Method private getConj(posTag String) : String from class org.languagetool.tagging.uk.UkrainianTagger to public getConj(posTag String) : String from class org.languagetool.tagging.uk.PosTagHelper | From | To | |
Change Return Type | 1 | ||
Change Return Type boolean to AnalyzedToken in method private getMultiwordToken(analyzedTokenReadings AnalyzedTokenReadings) : AnalyzedToken in class org.languagetool.rules.uk.TokenAgreementRule | From | To | |
Move Attribute | 1 | ||
Move Attribute private GENDER_CONJ_REGEX : Pattern from class org.languagetool.tagging.uk.UkrainianTagger to private GENDER_CONJ_REGEX : Pattern from class org.languagetool.tagging.uk.PosTagHelper | From | To | |
Extract Class | 1 | ||
Extract Class org.languagetool.tagging.uk.PosTagHelper from class org.languagetool.tagging.uk.UkrainianTagger | From | To | |
Extract Attribute | 1 | ||
Extract Attribute private EMPTY_MATCH_LIST : ArrayList<RuleMatch> in class org.languagetool.rules.uk.TokenAgreementRuleTest | From | To | |
Extract Method | 21 | ||
Extract Method private debug_tagged_write(analyzedTokens List<AnalyzedToken>, writer BufferedWriter) : void extracted from private debug_compound_tagged_write(guessedCompoundTags List<AnalyzedToken>) : void in class org.languagetool.tagging.uk.UkrainianTagger | From | To | |
Extract Method private assertEmptyMatch(text String) : void extracted from public testRule() : void in class org.languagetool.rules.uk.TokenAgreementRuleTest | From | To | |
Rename Parameter | 1 | ||
Rename Parameter guessedCompoundTags : List<AnalyzedToken> to analyzedTokens : List<AnalyzedToken> in method private debug_tagged_write(analyzedTokens List<AnalyzedToken>, writer BufferedWriter) : void in class org.languagetool.tagging.uk.UkrainianTagger | From | To |