f26bccc11ad3b731df1a8c2fe57679d5f86a1511
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 19
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type test : TestPushNotification to servlet : Servlet in method public CallbackServer(servlet Servlet) in class org.killbill.billing.jaxrs.CallbackServer | From | To | |
Move Class | 1 | ||
Move Class org.killbill.billing.jaxrs.TestPushNotification.CallbackServer moved to org.killbill.billing.jaxrs.CallbackServer | From | To | |
Merge Variable | 1 | ||
Merge Variable [apiKeyTenant1 : String, apiSecretTenant1 : String] to tenant1 : Tenant in method public testTenantShouldOnlySeeOwnAccount() : void in class org.killbill.billing.server.security.TestTenantFilter | From | To | |
Replace Variable With Attribute | 2 | ||
Replace Variable With Attribute requestOptionsOtherTenant : RequestOptions to requestOptions : RequestOptions in method public testPerTenantPluginPaymentStateMachineConfig() : void in class org.killbill.billing.jaxrs.TestTenantKV | From | To | |
Replace Variable With Attribute port : int to SERVER_PORT : int in method public CallbackServer(servlet Servlet) in class org.killbill.billing.jaxrs.CallbackServer | From | To | |
Rename Attribute | 1 | ||
Rename Attribute test : TestPushNotification to servlet : Servlet in class org.killbill.billing.jaxrs.CallbackServer | From | To | |
Extract Variable | 1 | ||
Extract Variable requestOptionsForOriginalTenant : RequestOptions in method public testPerTenantPluginPaymentStateMachineConfig() : void from class org.killbill.billing.jaxrs.TestTenantKV | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type test : TestPushNotification to servlet : Servlet in class org.killbill.billing.jaxrs.CallbackServer | From | To | |
Extract Method | 2 | ||
Extract Method protected createTenant(apiKey String, apiSecret String, useGlobalDefault boolean) : Tenant extracted from public beforeMethod() : void in class org.killbill.billing.jaxrs.TestJaxrsBase | From | To | |
Extract Method protected createAccountWithPMBundleAndSubscriptionAndWaitForFirstInvoice(paymentSuccess boolean) : Account extracted from protected createAccountWithPMBundleAndSubscriptionAndWaitForFirstInvoice() : Account in class org.killbill.billing.jaxrs.KillbillClient | From | To | |
Extract And Move Method | 5 | ||
Extract And Move Method protected createTenant(apiKey String, apiSecret String, useGlobalDefault boolean) : Tenant extracted from public testTenantShouldOnlySeeOwnAccount() : void in class org.killbill.billing.server.security.TestTenantFilter & moved to class org.killbill.billing.jaxrs.TestJaxrsBase | From | To | |
Extract And Move Method protected createTenant(apiKey String, apiSecret String, useGlobalDefault boolean) : Tenant extracted from public testFailedPaymentWithPerTenantRetryConfig() : void in class org.killbill.billing.jaxrs.TestPerTenantConfig & moved to class org.killbill.billing.jaxrs.TestJaxrsBase | From | To | |
Extract And Move Method protected createTenant(apiKey String, apiSecret String, useGlobalDefault boolean) : Tenant extracted from public testPerTenantPluginPaymentStateMachineConfig() : void in class org.killbill.billing.jaxrs.TestTenantKV & moved to class org.killbill.billing.jaxrs.TestJaxrsBase | From | To | |
Extract And Move Method protected createAccountWithPMBundleAndSubscriptionAndWaitForFirstInvoice(paymentSuccess boolean) : Account extracted from public testFailedPaymentWithPerTenantRetryConfig() : void in class org.killbill.billing.jaxrs.TestPerTenantConfig & moved to class org.killbill.billing.jaxrs.KillbillClient | From | To | |
Extract And Move Method protected createTenant(apiKey String, apiSecret String, useGlobalDefault boolean) : Tenant extracted from public testInvalidateCacheByTenant() : void in class org.killbill.billing.jaxrs.TestCache & moved to class org.killbill.billing.jaxrs.TestJaxrsBase | From | To | |
Rename Parameter | 1 | ||
Rename Parameter test : TestPushNotification to servlet : Servlet in method public CallbackServer(servlet Servlet) in class org.killbill.billing.jaxrs.CallbackServer | From | To |