e422d5f9bcefd33b02cbce56ee9a6926e6a51ead
Files Diff
- Added: 18
- Removed: 14
- Renamed: 0
- Modified: 39
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private initializedComponentProviders() : List<ComponentProvider> renamed to public get() : Iterable<ComponentProvider> in class org.glassfish.jersey.server.ApplicationHandler.getLazyInitializedComponentProviders.lazy | From | To | |
Move And Rename Method | 2 | ||
Move And Rename Method public releaseRequestingExecutor(executor ExecutorService) : void from class org.glassfish.jersey.tests.e2e.client.BasicClientTest.CustomExecutorProvider to public dispose(executorService ExecutorService) : void from class org.glassfish.jersey.tests.e2e.ExecutorServiceProviderTest.CustomExecutorProvider | From | To | |
Move And Rename Method public getWrappedApplication(app Application) : Application from class org.glassfish.jersey.server.internal.ConfigHelper to package unwrapApplication(application Application) : Application from class org.glassfish.jersey.server.ResourceConfig | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type instance : ScheduledExecutorService to instance : ExecutorService in method public dispose(instance ExecutorService) : void in class org.glassfish.jersey.process.internal.ExecutorProviders.ExecutorServiceFactory | From | To | |
Change Return Type | 3 | ||
Change Return Type void to ServerRuntime in method private initialize(componentProviders Iterable<ComponentProvider>) : ServerRuntime in class org.glassfish.jersey.server.ApplicationHandler | From | To | |
Change Return Type ScheduledExecutorService to ExecutorService in method public provide() : ExecutorService in class org.glassfish.jersey.process.internal.ExecutorProviders.ExecutorServiceFactory | From | To | |
Change Return Type List<ComponentProvider> to Iterable<ComponentProvider> in method public get() : Iterable<ComponentProvider> in class org.glassfish.jersey.server.ApplicationHandler.getLazyInitializedComponentProviders.lazy | From | To | |
Move Attribute | 3 | ||
Move Attribute private DEFAULT_HTTP_PORT : int from class org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpServerFactory to public DEFAULT_HTTP_PORT : int from class org.glassfish.jersey.server.spi.Container | From | To | |
Move Attribute public DEFAULT_HTTP_PORT : int from class org.glassfish.jersey.server.internal.ConfigHelper to public DEFAULT_HTTP_PORT : int from class org.glassfish.jersey.server.spi.Container | From | To | |
Move Attribute public DEFAULT_HTTPS_PORT : int from class org.glassfish.jersey.server.internal.ConfigHelper to public DEFAULT_HTTPS_PORT : int from class org.glassfish.jersey.server.spi.Container | From | To | |
Rename Class | 1 | ||
Rename Class org.glassfish.jersey.server.internal.RuntimeExecutorsBinderTest renamed to org.glassfish.jersey.server.internal.BackgroundSchedulerProviderTest | From | To | |
Move And Rename Class | 3 | ||
Move And Rename Class org.glassfish.jersey.server.internal.RuntimeExecutorsBinder.BackgroundSchedulerFactory moved and renamed to org.glassfish.jersey.process.internal.ExecutorProviders.ExecutorServiceFactory | From | To | |
Move And Rename Class org.glassfish.jersey.tests.e2e.RequestExecutorProviderTest.Resource moved and renamed to org.glassfish.jersey.tests.e2e.ExecutorServiceProviderTest.TestResourceA | From | To | |
Move And Rename Class org.glassfish.jersey.server.internal.RuntimeExecutorsBinderTest.ExecutorsTestResource moved and renamed to org.glassfish.jersey.server.internal.BackgroundSchedulerProviderTest.TestResource | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.glassfish.jersey.spi.ThreadPoolExecutorProvider from classes [org.glassfish.jersey.tests.e2e.client.BasicClientTest.CustomExecutorProvider] | From | To | |
Rename Attribute | 2 | ||
Rename Attribute asyncExecutorFactory : RequestExecutorFactory to managedAsyncExecutor : Provider<ExecutorService> in class org.glassfish.jersey.server.ServerRuntime | From | To | |
Rename Attribute applicationProperties : Map<String,Object> to clientRuntimeProperties : Map<String,Object> in class org.glassfish.jersey.client.ClientBinder | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type asyncExecutorFactory : RequestExecutorFactory to managedAsyncExecutor : Provider<ExecutorService> in class org.glassfish.jersey.server.ServerRuntime | From | To | |
Extract And Move Method | 8 | ||
Extract And Move Method public onReload(container Container) : void extracted from public reload(configuration ResourceConfig) : void in class org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer & moved to class org.glassfish.jersey.server.ApplicationHandler | From | To | |
Extract And Move Method public onStartup(container Container) : void extracted from public reload(configuration ResourceConfig) : void in class org.glassfish.jersey.jdkhttp.JdkHttpHandlerContainer & moved to class org.glassfish.jersey.server.ApplicationHandler | From | To | |
Extract And Move Method public onStartup(container Container) : void extracted from public reload(configuration ResourceConfig) : void in class org.glassfish.jersey.simple.SimpleContainer & moved to class org.glassfish.jersey.server.ApplicationHandler | From | To | |
Extract And Move Method public onReload(container Container) : void extracted from public reload(configuration ResourceConfig) : void in class org.glassfish.jersey.jetty.JettyHttpContainer & moved to class org.glassfish.jersey.server.ApplicationHandler | From | To | |
Extract And Move Method public onStartup(container Container) : void extracted from public reload(configuration ResourceConfig) : void in class org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer & moved to class org.glassfish.jersey.server.ApplicationHandler | From | To | |
Extract And Move Method public onReload(container Container) : void extracted from public reload(configuration ResourceConfig) : void in class org.glassfish.jersey.simple.SimpleContainer & moved to class org.glassfish.jersey.server.ApplicationHandler | From | To | |
Extract And Move Method public onReload(container Container) : void extracted from public reload(configuration ResourceConfig) : void in class org.glassfish.jersey.jdkhttp.JdkHttpHandlerContainer & moved to class org.glassfish.jersey.server.ApplicationHandler | From | To | |
Extract And Move Method public onStartup(container Container) : void extracted from public reload(configuration ResourceConfig) : void in class org.glassfish.jersey.jetty.JettyHttpContainer & moved to class org.glassfish.jersey.server.ApplicationHandler | From | To | |
Rename Parameter | 3 | ||
Rename Parameter executor : ExecutorService to executorService : ExecutorService in method public dispose(executorService ExecutorService) : void in class org.glassfish.jersey.tests.e2e.ExecutorServiceProviderTest.CustomExecutorProvider | From | To | |
Rename Parameter applicationProperties : Map<String,Object> to clientRuntimeProperties : Map<String,Object> in method package ClientBinder(clientRuntimeProperties Map<String,Object>) in class org.glassfish.jersey.client.ClientBinder | From | To | |
Rename Parameter app : Application to application : Application in method package unwrapApplication(application Application) : Application in class org.glassfish.jersey.server.ResourceConfig | From | To |