2ac65c4681aa2cfee697cae7acf4e459520f3e72
Files Diff
- Added: 82
- Removed: 36
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Push Down Method | 2 | ||
Push Down Method public SerbianSynthesizer() from class org.languagetool.synthesis.sr.SerbianSynthesizer to public JekavianSynthesizer() from class org.languagetool.synthesis.sr.JekavianSynthesizer | From | To | |
Push Down Method public SerbianSynthesizer() from class org.languagetool.synthesis.sr.SerbianSynthesizer to public EkavianSynthesizer() from class org.languagetool.synthesis.sr.EkavianSynthesizer | From | To | |
Pull Up Method | 1 | ||
Pull Up Method public setUp() : void from class org.languagetool.tagging.sr.SerbianTaggerTest to public setUp() : void from class org.languagetool.tagging.sr.AbstractSerbianTaggerTest | From | To | |
Move Method | 1 | ||
Move Method public testRules() : void from class org.languagetool.rules.sr.SerbianPatternRuleTest to public testRules() : void from class org.languagetool.rules.sr.ekavian.EkavianSerbianPatternRuleTest | From | To | |
Pull Up Attribute | 2 | ||
Pull Up Attribute private tokenizer : WordTokenizer from class org.languagetool.tagging.sr.SerbianTaggerTest to private tokenizer : WordTokenizer from class org.languagetool.tagging.sr.AbstractSerbianTaggerTest | From | To | |
Pull Up Attribute private tagger : SerbianTagger from class org.languagetool.tagging.sr.SerbianTaggerTest to private tagger : SerbianTagger from class org.languagetool.tagging.sr.AbstractSerbianTaggerTest | From | To | |
Push Down Attribute | 2 | ||
Push Down Attribute private RESOURCE_FILENAME : String from class org.languagetool.synthesis.sr.SerbianSynthesizer to private RESOURCE_FILENAME : String from class org.languagetool.synthesis.sr.EkavianSynthesizer | From | To | |
Push Down Attribute private RESOURCE_FILENAME : String from class org.languagetool.synthesis.sr.SerbianSynthesizer to private RESOURCE_FILENAME : String from class org.languagetool.synthesis.sr.JekavianSynthesizer | From | To | |
Rename Class | 8 | ||
Rename Class org.languagetool.synthesis.sr.SerbianSynthesizerTest renamed to org.languagetool.synthesis.sr.EkavianSynthesizerTest | From | To | |
Rename Class org.languagetool.language.SerbiaSerbian renamed to org.languagetool.language.SerbianSerbian | From | To | |
Rename Class org.languagetool.language.MontenegroSerbian renamed to org.languagetool.language.MontenegrinSerbian | From | To | |
Rename Class org.languagetool.rules.sr.SimpleGrammarReplaceRuleTest renamed to org.languagetool.rules.sr.SimpleGrammarEkavianReplaceRuleTest | From | To | |
Rename Class org.languagetool.language.BosniaSerbian renamed to org.languagetool.language.BosnianSerbian | From | To | |
Rename Class org.languagetool.language.CroatiaSerbian renamed to org.languagetool.language.CroatianSerbian | From | To | |
Rename Class org.languagetool.tagging.sr.SerbianTaggerTest renamed to org.languagetool.tagging.sr.JekavianTaggerTest | From | To | |
Rename Class org.languagetool.rules.sr.SimpleStyleReplaceRuleTest renamed to org.languagetool.rules.sr.SimpleStyleEkavianReplaceRuleTest | From | To | |
Move And Rename Class | 2 | ||
Move And Rename Class org.languagetool.rules.sr.SimpleGrammarReplaceRule moved and renamed to org.languagetool.rules.sr.ekavian.SimpleGrammarEkavianReplaceRule | From | To | |
Move And Rename Class org.languagetool.rules.sr.SimpleStyleReplaceRule moved and renamed to org.languagetool.rules.sr.ekavian.SimpleStyleEkavianReplaceRule | From | To | |
Move Class | 1 | ||
Move Class org.languagetool.SerbianConcurrencyTest moved to org.languagetool.language.SerbianConcurrencyTest | From | To | |
Extract Superclass | 2 | ||
Extract Superclass org.languagetool.language.JekavianSerbian from classes [org.languagetool.language.BosnianSerbian, org.languagetool.language.CroatianSerbian, org.languagetool.language.MontenegrinSerbian] | From | To | |
Extract Superclass org.languagetool.tagging.sr.AbstractSerbianTaggerTest from classes [org.languagetool.tagging.sr.JekavianTaggerTest] | From | To | |
Change Variable Type | 3 | ||
Change Variable Type rule : SimpleStyleReplaceRule to rule : SimpleStyleEkavianReplaceRule in method public testRule() : void in class org.languagetool.rules.sr.SimpleStyleEkavianReplaceRuleTest | From | To | |
Change Variable Type rule : SimpleGrammarReplaceRule to rule : SimpleGrammarEkavianReplaceRule in method public testRule() : void in class org.languagetool.rules.sr.SimpleGrammarEkavianReplaceRuleTest | From | To | |
Change Variable Type synth : SerbianSynthesizer to synth : EkavianSynthesizer in method public testSynthesizeString() : void in class org.languagetool.synthesis.sr.EkavianSynthesizerTest | From | To | |
Extract Method | 2 | ||
Extract Method protected getBasicRules(messages ResourceBundle) : List<Rule> extracted from public getRelevantRules(messages ResourceBundle) : List<Rule> in class org.languagetool.language.Serbian | From | To | |
Extract Method protected createTagger() : SerbianTagger extracted from public setUp() : void in class org.languagetool.tagging.sr.AbstractSerbianTaggerTest | From | To |