3897673e44bf72a334947d7099bb7631ddbcbea3
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 2 | ||
Change Parameter Type preloadedDefaultUserQuotas : Optional<Quotas> to quotaLoader : QuotaLoader in method private fromMessageManager(messageManager MessageManager, userMailboxesMetadata Optional<List<MailboxMetaData>>, quotaLoader QuotaLoader, mailboxSession MailboxSession) : Mailbox in class org.apache.james.jmap.model.MailboxFactory | From | To | |
Change Parameter Type quotaId : QuotaId to quotaId : Quotas.QuotaId in method private containsQuotaId(preloadedUserDefaultQuotas Optional<Quotas>, quotaId Quotas.QuotaId) : boolean in class org.apache.james.jmap.utils.quotas.QuotaLoaderWithDefaultPreloaded | From | To | |
Move Method | 5 | ||
Move Method private quotaToValue(quota Quota<T>) : Quotas.Value<T> from class org.apache.james.jmap.model.MailboxFactory to protected quotaToValue(quota Quota<T>) : Quotas.Value<T> from class org.apache.james.jmap.utils.quotas.QuotaLoader | From | To | |
Move Method private quotaValueToOptionalNumber(value QuotaValue<?>) : Optional<Number> from class org.apache.james.jmap.model.MailboxFactory to protected quotaValueToOptionalNumber(value QuotaValue<?>) : Optional<Number> from class org.apache.james.jmap.utils.quotas.QuotaLoader | From | To | |
Move Method private getQuotas(mailboxPath MailboxPath, preloadedUserDefaultQuotas Optional<Quotas>) : Quotas from class org.apache.james.jmap.model.MailboxFactory to public getQuotas(mailboxPath MailboxPath) : Quotas from class org.apache.james.jmap.utils.quotas.QuotaLoaderWithDefaultPreloaded | From | To | |
Move Method private containsQuotaId(preloadedUserDefaultQuotas Optional<Quotas>, quotaId QuotaId) : boolean from class org.apache.james.jmap.model.MailboxFactory to private containsQuotaId(preloadedUserDefaultQuotas Optional<Quotas>, quotaId Quotas.QuotaId) : boolean from class org.apache.james.jmap.utils.quotas.QuotaLoaderWithDefaultPreloaded | From | To | |
Move Method private quotaValueToNumber(value QuotaValue<?>) : Number from class org.apache.james.jmap.model.MailboxFactory to protected quotaValueToNumber(value QuotaValue<?>) : Number from class org.apache.james.jmap.utils.quotas.QuotaLoader | From | To | |
Extract Class | 1 | ||
Extract Class org.apache.james.jmap.utils.quotas.QuotaLoader from class org.apache.james.jmap.model.MailboxFactory | From | To | |
Rename Attribute | 1 | ||
Rename Attribute preloadedUserDefaultQuotas : Optional<Quotas> to quotaLoader : QuotaLoader in class org.apache.james.jmap.model.MailboxFactory.MailboxBuilder | From | To | |
Change Variable Type | 1 | ||
Change Variable Type mockedMailboxManager : MailboxManager to mockedMailboxManager : StoreMailboxManager in method public getMailboxesShouldNotFailWhenMailboxManagerErrors() : void in class org.apache.james.jmap.methods.GetMailboxesMethodTest | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type preloadedUserDefaultQuotas : Optional<Quotas> to quotaLoader : QuotaLoader in class org.apache.james.jmap.model.MailboxFactory.MailboxBuilder | From | To | |
Rename Parameter | 1 | ||
Rename Parameter preloadedDefaultUserQuotas : Optional<Quotas> to quotaLoader : QuotaLoader in method private fromMessageManager(messageManager MessageManager, userMailboxesMetadata Optional<List<MailboxMetaData>>, quotaLoader QuotaLoader, mailboxSession MailboxSession) : Mailbox in class org.apache.james.jmap.model.MailboxFactory | From | To |