8dd2496953693111081728bc8513954b5f7c36a5
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Variable | 2 | ||
| Rename Variable match : Match to currentProcessingMatch : Match in method private getMatchSuggestions(sentence String, matcher Matcher) : List<String> in class org.languagetool.rules.patterns.RegexPatternRule | From | To | |
| Rename Variable allSuggestions : List<String> to clausePositionsInMessage : List<Pair<Integer,Integer>> in method private getClausePositionsInMessage(pattern Pattern, message String) : List<Pair<Integer,Integer>> in class org.languagetool.rules.patterns.RegexPatternRule | From | To | |
| Parameterize Variable | 1 | ||
| Parameterize Variable sentence : String to message : String in method private getClausePositionsInMessage(pattern Pattern, message String) : List<Pair<Integer,Integer>> in class org.languagetool.rules.patterns.RegexPatternRule | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type allSuggestions : List<String> to clausePositionsInMessage : List<Pair<Integer,Integer>> in method private getClausePositionsInMessage(pattern Pattern, message String) : List<Pair<Integer,Integer>> in class org.languagetool.rules.patterns.RegexPatternRule | From | To | |
| Inline Variable | 1 | ||
| Inline Variable sentence : String in method public match(sentenceObj AnalyzedSentence) : RuleMatch[] from class org.languagetool.rules.patterns.RegexPatternRule | From | To | |
| Extract Method | 1 | ||
| Extract Method private getClausePositionsInMessage(pattern Pattern, message String) : List<Pair<Integer,Integer>> extracted from public match(sentenceObj AnalyzedSentence) : RuleMatch[] in class org.languagetool.rules.patterns.RegexPatternRule | From | To |