5d73fb6e88a8bcfd7d0ed3431e98a6960337b446
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Inline Method | 2 | ||
| Inline Method private isCapitalized(token String) : boolean inlined to public match(sentence AnalyzedSentence) : RuleMatch[] in class org.languagetool.rules.uk.TokenAgreementPrepNounRule | From | To | |
| Move Attribute | 1 | ||
| Move Attribute private NAMES : Set<String> from class org.languagetool.rules.uk.TokenAgreementPrepNounRule to private NAMES : Set<String> from class org.languagetool.rules.uk.TokenAgreementPrepNounExceptionHelper | From | To | |
| Parameterize Variable | 1 | ||
| Parameterize Variable txt : String to text : String in method private ruleMatch(text String) : RuleMatch[] in class org.languagetool.rules.uk.TokenAgreementPrepNounRuleTest | From | To | |
| Extract Method | 21 | ||
| Extract Method private ruleMatch(text String) : RuleMatch[] extracted from public testUnusualCharacters() : void in class org.languagetool.rules.uk.TokenAgreementPrepNounRuleTest | From | To | |
| Extract Method private ruleMatch(text String) : RuleMatch[] extracted from public testSpecialChars() : void in class org.languagetool.rules.uk.TokenAgreementPrepNounRuleTest | From | To | |
| Extract Method private ruleMatch(text String) : RuleMatch[] extracted from public testRule() : void in class org.languagetool.rules.uk.TokenAgreementPrepNounRuleTest | From | To | |
| Extract Method private ruleMatch(text String) : RuleMatch[] extracted from private assertEmptyMatch(text String) : void in class org.languagetool.rules.uk.TokenAgreementPrepNounRuleTest | From | To |