0664c93cc797df25e9ba70b866c6cffb7afc9ab4
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 3 | ||
Move And Rename Method private extractAddresses(addressList String) : InternetAddress[] from class org.apache.james.transport.mailets.Redirect to private extract(addressList String) : List<MailAddress> from class org.apache.james.transport.mailets.redirect.AddressExtractor | From | To | |
Move And Rename Method private extractAddresses(addressList String) : InternetAddress[] from class org.apache.james.transport.mailets.redirect.AbstractRedirect to private extract(addressList String) : List<MailAddress> from class org.apache.james.transport.mailets.redirect.AddressExtractor | From | To | |
Move And Rename Method private toMailAddress(addressString String) : MailAddress from class org.apache.james.transport.mailets.redirect.AbstractRedirect to private asSpecialAddress(addressString String) : Optional<MailAddress> from class org.apache.james.transport.mailets.redirect.AddressExtractor | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type allowedSpecials : String[] to allowedSpecials : List<String> in method private isAllowed(addressString String, allowedSpecials List<String>) : boolean in class org.apache.james.transport.mailets.redirect.AddressExtractor | From | To | |
Move Method | 3 | ||
Move Method private toMailAddress(address InternetAddress) : MailAddress from class org.apache.james.transport.mailets.Redirect to private toMailAddress(address InternetAddress) : MailAddress from class org.apache.james.transport.mailets.redirect.AddressExtractor | From | To | |
Move Method private isAllowed(addressString String, allowedSpecials String[]) : boolean from class org.apache.james.transport.mailets.redirect.AbstractRedirect to private isAllowed(addressString String, allowedSpecials List<String>) : boolean from class org.apache.james.transport.mailets.redirect.AddressExtractor | From | To | |
Move Method private toMailAddress(address InternetAddress, allowedSpecials String[]) : MailAddress from class org.apache.james.transport.mailets.redirect.AbstractRedirect to private toMailAddress(address InternetAddress) : MailAddress from class org.apache.james.transport.mailets.redirect.AddressExtractor | From | To | |
Change Return Type | 3 | ||
Change Return Type InternetAddress[] to List<MailAddress> in method private extract(addressList String) : List<MailAddress> in class org.apache.james.transport.mailets.redirect.AddressExtractor | From | To | |
Change Return Type MailAddress to Optional<MailAddress> in method private asSpecialAddress(addressString String) : Optional<MailAddress> in class org.apache.james.transport.mailets.redirect.AddressExtractor | From | To | |
Change Variable Type | 7 | ||
Change Variable Type address : InternetAddress to address : MailAddress in method protected getTo() : InternetAddress[] in class org.apache.james.transport.mailets.Redirect | From | To | |
Change Variable Type address : InternetAddress to address : MailAddress in method protected getRecipients() : Collection<MailAddress> in class org.apache.james.transport.mailets.redirect.AbstractRedirect | From | To | |
Change Variable Type address : InternetAddress to address : MailAddress in method protected getRecipients() : Collection<MailAddress> in class org.apache.james.transport.mailets.Redirect | From | To | |
Change Variable Type address : InternetAddress to address : MailAddress in method protected getTo() : InternetAddress[] in class org.apache.james.transport.mailets.redirect.AbstractRedirect | From | To | |
Change Variable Type extractAddresses : InternetAddress[] to extractAddresses : List<MailAddress> in method protected getSender() : MailAddress in class org.apache.james.transport.mailets.redirect.AbstractRedirect | From | To | |
Change Variable Type extractAddresses : InternetAddress[] to extractAddresses : List<MailAddress> in method protected getReplyTo() : MailAddress in class org.apache.james.transport.mailets.redirect.AbstractRedirect | From | To | |
Change Variable Type extractAddresses : InternetAddress[] to extractAddresses : List<MailAddress> in method protected getReversePath() : MailAddress in class org.apache.james.transport.mailets.redirect.AbstractRedirect | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type ALLOWED_SPECIALS : String[] to ALLOWED_SPECIALS : List<String> in class org.apache.james.transport.mailets.Redirect | From | To | |
Change Attribute Type ALLOWED_SPECIALS : String[] to ALLOWED_SPECIALS : List<String> in class org.apache.james.transport.mailets.Forward | From | To |