6501ec922806306dbd14820f1619d0f8a6c89cf5
Files Diff
- Added: 1
- Removed: 6
- Renamed: 0
- Modified: 14
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method public testHelp() : void renamed to public testGetActiveExtraArgs() : void in class org.apache.james.transport.mailets.managesieve.ManageSieveMailetTestCase | From | To | |
| Rename Variable | 5 | ||
| Rename Variable content : MimeMultipart to multipart : MimeMultipart in method private ensureResponse(subject String, recipient Address, contents String...) : void in class org.apache.james.transport.mailets.managesieve.ManageSieveMailetTestCase | From | To | |
| Extract Attribute | 6 | ||
| Extract Attribute public NEW_NAME : String in class org.apache.james.managesieve.core.CoreProcessorTestCase | From | To | |
| Extract Attribute public CONTENT : String in class org.apache.james.managesieve.core.CoreProcessorTestCase | From | To | |
| Extract Attribute public SIEVE_LOCALHOST : String in class org.apache.james.transport.mailets.managesieve.ManageSieveMailetTestCase | From | To | |
| Extract Attribute public USER : String in class org.apache.james.managesieve.core.CoreProcessorTestCase | From | To | |
| Extract Attribute public SCRIPT : String in class org.apache.james.managesieve.core.CoreProcessorTestCase | From | To | |
| Extract Attribute public USER : String in class org.apache.james.transport.mailets.managesieve.ManageSieveMailetTestCase | From | To | |
| Rename Attribute | 5 | ||
| Rename Attribute _helpURL : URL to helpURL : URL in class org.apache.james.transport.mailets.managesieve.ManageSieveMailet | From | To | |
| Rename Attribute repository : MockSieveRepository to sieveRepository : SieveRepository in class org.apache.james.managesieve.core.CoreProcessorTestCase | From | To | |
| Rename Attribute _parser : SieveParser to parser : SieveParser in class org.apache.james.managesieve.core.CoreProcessor | From | To | |
| Rename Attribute _repository : SieveRepository to sieveRepository : SieveRepository in class org.apache.james.managesieve.core.CoreProcessor | From | To | |
| Rename Attribute _transcoder : MessageToCoreToMessage to transcoder : MessageToCoreToMessage in class org.apache.james.transport.mailets.managesieve.ManageSieveMailet | From | To | |
| Extract Method | 24 | ||
| Extract Method private prepareMimeMessage(subject String, sender String, recipient String) : MimeMessage extracted from public testListScripts() : void in class org.apache.james.transport.mailets.managesieve.ManageSieveMailetTestCase | From | To | |
| Extract Method private prepareMimeMessage(subject String, sender String, recipient String) : MimeMessage extracted from public testGetScript() : void in class org.apache.james.transport.mailets.managesieve.ManageSieveMailetTestCase | From | To | |
| Extract Method private ensureResponse(subject String, recipient Address, contents String...) : void extracted from public testGetActive() : void in class org.apache.james.transport.mailets.managesieve.ManageSieveMailetTestCase | From | To | |
| Extract Method private ensureResponse(subject String, recipient Address, contents String...) : void extracted from public testPutScript() : void in class org.apache.james.transport.mailets.managesieve.ManageSieveMailetTestCase | From | To | |
| Extract Method private prepareMimeMessage(subject String, sender String, recipient String) : MimeMessage extracted from public testCheckScript() : void in class org.apache.james.transport.mailets.managesieve.ManageSieveMailetTestCase | From | To | |
| Extract Method private prepareMimeMessage(subject String, sender String, recipient String) : MimeMessage extracted from public testSetActive() : void in class org.apache.james.transport.mailets.managesieve.ManageSieveMailetTestCase | From | To | |
| Extract Method private prepareMessageWithAttachment(scriptContent String, subject String, recipient String, sender String) : MimeMessage extracted from public testCheckScript() : void in class org.apache.james.transport.mailets.managesieve.ManageSieveMailetTestCase | From | To | |
| Extract Method private prepareMimeMessage(subject String, sender String, recipient String) : MimeMessage extracted from public testRenameScripts() : void in class org.apache.james.transport.mailets.managesieve.ManageSieveMailetTestCase | From | To | |
| Extract Method private prepareMimeMessage(subject String, sender String, recipient String) : MimeMessage extracted from public testCapability() : void in class org.apache.james.transport.mailets.managesieve.ManageSieveMailetTestCase | From | To | |
| Extract Method private ensureResponse(subject String, recipient Address, contents String...) : void extracted from public testListScripts() : void in class org.apache.james.transport.mailets.managesieve.ManageSieveMailetTestCase | From | To | |
| Extract Method private ensureResponse(subject String, recipient Address, contents String...) : void extracted from public testGetScript() : void in class org.apache.james.transport.mailets.managesieve.ManageSieveMailetTestCase | From | To | |
| Extract Method private prepareMessageWithAttachment(scriptContent String, subject String, recipient String, sender String) : MimeMessage extracted from public testPutScript() : void in class org.apache.james.transport.mailets.managesieve.ManageSieveMailetTestCase | From | To | |
| Extract Method private prepareMimeMessage(subject String, sender String, recipient String) : MimeMessage extracted from public testHaveSpace() : void in class org.apache.james.transport.mailets.managesieve.ManageSieveMailetTestCase | From | To | |
| Extract Method private ensureResponse(subject String, recipient Address, contents String...) : void extracted from public testDeleteScript() : void in class org.apache.james.transport.mailets.managesieve.ManageSieveMailetTestCase | From | To | |
| Extract Method private ensureResponseContains(subject String, recipient Address, contents String...) : void extracted from public testCapability() : void in class org.apache.james.transport.mailets.managesieve.ManageSieveMailetTestCase | From | To | |
| Extract Method private ensureResponse(subject String, recipient Address, contents String...) : void extracted from public testCheckScript() : void in class org.apache.james.transport.mailets.managesieve.ManageSieveMailetTestCase | From | To | |
| Extract Method private ensureResponse(subject String, recipient Address, contents String...) : void extracted from public testSetActive() : void in class org.apache.james.transport.mailets.managesieve.ManageSieveMailetTestCase | From | To | |
| Extract Method private prepareMimeMessage(subject String, sender String, recipient String) : MimeMessage extracted from public testDeleteScript() : void in class org.apache.james.transport.mailets.managesieve.ManageSieveMailetTestCase | From | To | |
| Extract Method private ensureResponse(subject String, recipient Address, contents String...) : void extracted from public testRenameScripts() : void in class org.apache.james.transport.mailets.managesieve.ManageSieveMailetTestCase | From | To | |
| Extract Method private ensureResponse(subject String, recipient Address, contents String...) : void extracted from public testHelp() : void in class org.apache.james.transport.mailets.managesieve.ManageSieveMailetTestCase | From | To | |
| Extract Method private ensureResponse(subject String, recipient Address, contents String...) : void extracted from public testHaveSpace() : void in class org.apache.james.transport.mailets.managesieve.ManageSieveMailetTestCase | From | To | |
| Extract Method private prepareMimeMessage(subject String, sender String, recipient String) : MimeMessage extracted from public testGetActive() : void in class org.apache.james.transport.mailets.managesieve.ManageSieveMailetTestCase | From | To | |
| Extract Method private prepareMimeMessage(subject String, sender String, recipient String) : MimeMessage extracted from public testHelp() : void in class org.apache.james.transport.mailets.managesieve.ManageSieveMailetTestCase | From | To | |
| Extract Method private prepareMimeMessage(subject String, sender String, recipient String) : MimeMessage extracted from public testPutScript() : void in class org.apache.james.transport.mailets.managesieve.ManageSieveMailetTestCase | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type session : MockSession to session : SettableSession in class org.apache.james.managesieve.core.CoreProcessorTestCase | From | To | |
| Change Attribute Type repository : MockSieveRepository to sieveRepository : SieveRepository in class org.apache.james.managesieve.core.CoreProcessorTestCase | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter msg : MimeMessage to mimemessage : MimeMessage in method public sendMail(mimemessage MimeMessage) : void in class org.apache.mailet.base.test.FakeMailContext | From | To |