a5bd1c74335614090413cac7e3f587cb582f8651
Files Diff
- Added: 10
- Removed: 3
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public getContent() : String renamed to public getPayload() : String in class org.apache.james.jmap.model.ContinuationToken | From | To | |
Change Parameter Type | 7 | ||
Change Parameter Type token : ContinuationToken to token : SignedExpiringToken in method public isValid(token SignedExpiringToken) : boolean in class org.apache.james.jmap.crypto.SignedTokenManager | From | To | |
Change Parameter Type token : ContinuationToken to token : SignedExpiringToken in method public getValidity(token SignedExpiringToken) : TokenStatus in class org.apache.james.jmap.api.SimpleTokenManager | From | To | |
Change Parameter Type token : ContinuationToken to token : SignedExpiringToken in method private isExpired(token SignedExpiringToken) : boolean in class org.apache.james.jmap.crypto.SignedTokenManager | From | To | |
Change Parameter Type token : ContinuationToken to token : SignedExpiringToken in method public isValid(token SignedExpiringToken) : boolean in class org.apache.james.jmap.api.SimpleTokenManager | From | To | |
Change Parameter Type token : ContinuationToken to token : SignedExpiringToken in method private isCorrectlySigned(token SignedExpiringToken) : boolean in class org.apache.james.jmap.crypto.SignedTokenManager | From | To | |
Change Parameter Type token : ContinuationToken to token : SignedExpiringToken in method public getValidity(token SignedExpiringToken) : TokenStatus in class org.apache.james.jmap.crypto.SignedTokenManager | From | To | |
Change Parameter Type continuationTokenManager : ContinuationTokenManager to simpleTokenManager : SimpleTokenManager in method package AuthenticationServlet(usersRepository UsersRepository, simpleTokenManager SimpleTokenManager, simpleTokenFactory SimpleTokenFactory, accessTokenManager AccessTokenManager) in class org.apache.james.jmap.AuthenticationServlet | From | To | |
Change Return Type | 2 | ||
Change Return Type ContinuationTokenStatus to TokenStatus in method public getValidity(token SignedExpiringToken) : TokenStatus in class org.apache.james.jmap.crypto.SignedTokenManager | From | To | |
Change Return Type ContinuationTokenStatus to TokenStatus in method public getValidity(token SignedExpiringToken) : TokenStatus in class org.apache.james.jmap.api.SimpleTokenManager | From | To | |
Rename Class | 3 | ||
Rename Class org.apache.james.jmap.crypto.SignedContinuationTokenManagerTest renamed to org.apache.james.jmap.crypto.SignedTokenManagerTest | From | To | |
Rename Class org.apache.james.jmap.crypto.SignedContinuationTokenManager renamed to org.apache.james.jmap.crypto.SignedTokenManager | From | To | |
Rename Class org.apache.james.jmap.api.ContinuationTokenManager renamed to org.apache.james.jmap.api.SimpleTokenManager | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class org.apache.james.jmap.api.ContinuationTokenManager.ContinuationTokenStatus moved and renamed to org.apache.james.jmap.api.SimpleTokenManager.TokenStatus | From | To | |
Rename Attribute | 2 | ||
Rename Attribute toKenManager : SignedContinuationTokenManager to tokenManager : SignedTokenManager in class org.apache.james.jmap.crypto.SignedTokenManagerTest | From | To | |
Rename Attribute continuationTokenManager : ContinuationTokenManager to simpleTokenManager : SimpleTokenManager in class org.apache.james.jmap.AuthenticationServlet | From | To | |
Extract Variable | 3 | ||
Extract Variable with : RequestSpecification in method public optionDownload(username String) : void from class org.apache.james.jmap.methods.integration.cucumber.DownloadStepdefs | From | To | |
Extract Variable with : RequestSpecification in method public downloads(username String, attachmentId String) : void from class org.apache.james.jmap.methods.integration.cucumber.DownloadStepdefs | From | To | |
Extract Variable nullMailboxSessionMapperFactory : MailboxSessionMapperFactory in method public blobIdFromShouldSkipTheFirstCharacter() : void from class org.apache.james.jmap.DownloadServletTest | From | To | |
Extract Interface | 1 | ||
Extract Interface org.apache.james.jmap.model.SignedExpiringToken from classes [org.apache.james.jmap.model.ContinuationToken] | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type toKenManager : SignedContinuationTokenManager to tokenManager : SignedTokenManager in class org.apache.james.jmap.crypto.SignedTokenManagerTest | From | To | |
Change Attribute Type continuationTokenManager : ContinuationTokenManager to simpleTokenManager : SimpleTokenManager in class org.apache.james.jmap.AuthenticationServlet | From | To | |
Rename Parameter | 1 | ||
Rename Parameter continuationTokenManager : ContinuationTokenManager to simpleTokenManager : SimpleTokenManager in method package AuthenticationServlet(usersRepository UsersRepository, simpleTokenManager SimpleTokenManager, simpleTokenFactory SimpleTokenFactory, accessTokenManager AccessTokenManager) in class org.apache.james.jmap.AuthenticationServlet | From | To |