b3458187aed724df0c463a34a4355604474a2562
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 34
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute testee : RemoteAddrNotInNetwork to matcher : RemoteAddrNotInNetwork in method public shouldMatchWhenNoCondition() : void in class org.apache.james.transport.matchers.RemoteAddrNotInNetworkTest | From | To | |
Extract Method | 1 | ||
Extract Method private getMimeMessage() : MimeMessage extracted from public build() : FakeMail in class org.apache.mailet.base.test.FakeMail.Builder | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type sender : MailAddress to sender : Optional<MailAddress> in class org.apache.mailet.base.test.FakeMail.Builder | From | To | |
Change Attribute Type attributes : HashMap<String,Serializable> to attributes : Map<String,Serializable> in class org.apache.mailet.base.test.FakeMail | From | To | |
Change Attribute Type remoteAddr : String to remoteAddr : Optional<String> in class org.apache.mailet.base.test.FakeMail.Builder | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public defaultFakeMail() : FakeMail extracted from public matchShouldNotMatchMailWithNotRecipients() : void in class org.apache.james.transport.matchers.IsSingleRecipientTest & moved to class org.apache.mailet.base.test.FakeMail | From | To | |
Rename Parameter | 1 | ||
Rename Parameter m : MimeMessage to message : MimeMessage in method public createMockMail2Recipients(message MimeMessage) : FakeMail in class org.apache.mailet.base.test.MailUtil | From | To |