b41029fb14e0dcd721c44c2bda874a41de287f87
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public getActiveBundleForKeyNotException(existingBundles Iterable<SubscriptionBaseBundle>, dao SubscriptionDao, clock Clock, catalog Catalog, context InternalTenantContext) : SubscriptionBaseBundle renamed to public getActiveBundleForKey(bundleKey String, catalog Catalog, context InternalTenantContext) : SubscriptionBaseBundle in class org.killbill.billing.subscription.api.svcs.DefaultSubscriptionInternalApi | From | To | |
Merge Variable | 1 | ||
Merge Variable [eventsStreamForBaseSubscriptionPerBundle : Map<UUID,Optional<EventsStream>>, contextWithValidAccountRecordId : InternalCallContext] to eventsStreamForBaseSubscription : Optional<EventsStream> in method private preCheckAddEntitlement(baseEntitlementWithAddOnsSpecifier BaseEntitlementWithAddOnsSpecifier, entitlementRequestedDate DateTime, eventsStreamForBaseSubscriptionPerBundle Map<UUID,Optional<EventsStream>>, bundleKeyToIdMapping Map<String,Optional<UUID>>, catalog Catalog, callContext TenantContext, contextWithValidAccountRecordId InternalCallContext) : void in class org.killbill.billing.entitlement.api.DefaultEntitlementApi | From | To | |
Extract Variable | 1 | ||
Extract Variable bundleId : UUID in method private preCheckAddEntitlement(baseEntitlementWithAddOnsSpecifier BaseEntitlementWithAddOnsSpecifier, entitlementRequestedDate DateTime, eventsStreamForBaseSubscriptionPerBundle Map<UUID,Optional<EventsStream>>, bundleKeyToIdMapping Map<String,Optional<UUID>>, catalog Catalog, callContext TenantContext, contextWithValidAccountRecordId InternalCallContext) : void from class org.killbill.billing.entitlement.api.DefaultEntitlementApi | From | To | |
Extract Method | 1 | ||
Extract Method private preCheckAddEntitlement(baseEntitlementWithAddOnsSpecifier BaseEntitlementWithAddOnsSpecifier, entitlementRequestedDate DateTime, eventsStreamForBaseSubscriptionPerBundle Map<UUID,Optional<EventsStream>>, bundleKeyToIdMapping Map<String,Optional<UUID>>, catalog Catalog, callContext TenantContext, contextWithValidAccountRecordId InternalCallContext) : void extracted from private createBaseEntitlementsWithAddOns(operationType OperationType, accountId UUID, originalBaseEntitlementWithAddOnsSpecifiers Iterable<BaseEntitlementWithAddOnsSpecifier>, renameCancelledBundleIfExist boolean, properties Iterable<PluginProperty>, callContext CallContext) : List<UUID> in class org.killbill.billing.entitlement.api.DefaultEntitlementApi | From | To |