2c5a7c505ef31d82f8de9c06104a8ed8a51b98ff
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 2 | ||
Change Parameter Type tenantContext : TenantContext to internalTenantContext : InternalTenantContext in method public DefaultEntitlement(accountId UUID, entitlementId UUID, eventsStreamBuilder EventsStreamBuilder, entitlementApi EntitlementApi, pluginExecution EntitlementPluginExecution, blockingStateDao BlockingStateDao, subscriptionInternalApi SubscriptionBaseInternalApi, checker BlockingChecker, notificationQueueService NotificationQueueService, entitlementUtils EntitlementUtils, dateHelper EntitlementDateHelper, clock Clock, securityApi SecurityApi, internalCallContextFactory InternalCallContextFactory, internalTenantContext InternalTenantContext) in class org.killbill.billing.entitlement.api.DefaultEntitlement | From | To | |
Change Parameter Type callContext : CallContext to callContext : InternalCallContext in method private buildEntitlementList(accountId UUID, subscriptionsWithAddOns Iterable<SubscriptionBaseWithAddOns>, callContext InternalCallContext) : List<Entitlement> in class org.killbill.billing.entitlement.api.DefaultEntitlementApi | From | To | |
Merge Variable | 1 | ||
Merge Variable [blockingStatesForAccount : List<BlockingState>, account : ImmutableAccountData, baseSubscription : SubscriptionBase, allSubscriptionsForBundle : List<SubscriptionBase>, bcdCache : Map<UUID,Integer>, catalog : Catalog] to subscriptionsForBundle : List<SubscriptionBase> in method public buildForEntitlement(entitlementId UUID, internalTenantContext InternalTenantContext) : EventsStream in class org.killbill.billing.entitlement.engine.core.EventsStreamBuilder | From | To | |
Extract Method | 1 | ||
Extract Method public buildForEntitlement(bundle SubscriptionBaseBundle, subscription SubscriptionBase, allSubscriptionsForBundle List<SubscriptionBase>, internalTenantContext InternalTenantContext) : EventsStream extracted from public buildForEntitlement(entitlementId UUID, internalTenantContext InternalTenantContext) : EventsStream in class org.killbill.billing.entitlement.engine.core.EventsStreamBuilder | From | To | |
Rename Parameter | 1 | ||
Rename Parameter tenantContext : TenantContext to internalTenantContext : InternalTenantContext in method public DefaultEntitlement(accountId UUID, entitlementId UUID, eventsStreamBuilder EventsStreamBuilder, entitlementApi EntitlementApi, pluginExecution EntitlementPluginExecution, blockingStateDao BlockingStateDao, subscriptionInternalApi SubscriptionBaseInternalApi, checker BlockingChecker, notificationQueueService NotificationQueueService, entitlementUtils EntitlementUtils, dateHelper EntitlementDateHelper, clock Clock, securityApi SecurityApi, internalCallContextFactory InternalCallContextFactory, internalTenantContext InternalTenantContext) in class org.killbill.billing.entitlement.api.DefaultEntitlement | From | To |