82e058b02faebb4898004055fb99e5d9f64a61f9
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 1
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Variable | 4 | ||
| Rename Variable newRecipients : Collection<MailAddress> to builder : ImmutableList.Builder<MailAddress> in method protected getRecipients() : Collection<MailAddress> in class org.apache.james.transport.mailets.Redirect | From | To | |
| Rename Variable addressList : String to toOrRecipients : String in method protected getTo() : InternetAddress[] in class org.apache.james.transport.mailets.Redirect | From | To | |
| Rename Variable anIaarray : InternetAddress to address : InternetAddress in method protected getRecipients() : Collection<MailAddress> in class org.apache.james.transport.mailets.Redirect | From | To | |
| Rename Variable addressList : String to recipientsOrTo : String in method protected getRecipients() : Collection<MailAddress> in class org.apache.james.transport.mailets.Redirect | From | To | |
| Extract Attribute | 1 | ||
| Extract Attribute private ALLOWED_SPECIALS : String[] in class org.apache.james.transport.mailets.Redirect | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type newRecipients : Collection<MailAddress> to builder : ImmutableList.Builder<MailAddress> in method protected getRecipients() : Collection<MailAddress> in class org.apache.james.transport.mailets.Redirect | From | To | |
| Inline Variable | 1 | ||
| Inline Variable addressString : String in method protected getRecipients() : Collection<MailAddress> from class org.apache.james.transport.mailets.Redirect | From | To | |
| Extract Method | 6 | ||
| Extract Method private toMailAddress(address InternetAddress) : MailAddress extracted from protected getRecipients() : Collection<MailAddress> in class org.apache.james.transport.mailets.Redirect | From | To | |
| Extract Method private extractAddresses(addressList String) : InternetAddress[] extracted from protected getTo() : InternetAddress[] in class org.apache.james.transport.mailets.Redirect | From | To | |
| Extract Method private toMailAddress(addressString String) : MailAddress extracted from protected getReversePath() : MailAddress in class org.apache.james.transport.mailets.Redirect | From | To | |
| Extract Method private extractAddresses(addressList String) : InternetAddress[] extracted from protected getRecipients() : Collection<MailAddress> in class org.apache.james.transport.mailets.Redirect | From | To | |
| Extract Method private getToOrRecipients() : String extracted from protected getTo() : InternetAddress[] in class org.apache.james.transport.mailets.Redirect | From | To | |
| Extract Method private getRecipientsOrTo() : String extracted from protected getRecipients() : Collection<MailAddress> in class org.apache.james.transport.mailets.Redirect | From | To |