e81d358351d5ab2a1abbb34b4638a7358e7b5cec
Files Diff
- Added: 8
- Removed: 0
- Renamed: 0
- Modified: 57
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Inline Method | 1 | ||
Move And Inline Method public extendedHeaders(extendedHeaders ExtendedHeaders) : void moved from class org.infinispan.rest.configuration.RestServerConfiguration to class org.infinispan.server.endpoint.subsystem.RestService & inlined to public RestService(config ModelNode) | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type port : int to configuration : RestServerConfiguration in method public EmbeddedRestServer(cacheManager EmbeddedCacheManager, configuration RestServerConfiguration) in class org.infinispan.rest.EmbeddedRestServer | From | To | |
Change Return Type | 1 | ||
Change Return Type Deployment to Lifecycle in method public getValue() : Lifecycle in class org.infinispan.server.endpoint.subsystem.RestService | From | To | |
Move Attribute | 2 | ||
Move Attribute package host : String from class org.infinispan.rest.EmbeddedRestServer to private host : String from class org.infinispan.rest.configuration.RestServerConfiguration | From | To | |
Move Attribute package port : int from class org.infinispan.rest.EmbeddedRestServer to private port : int from class org.infinispan.rest.configuration.RestServerConfiguration | From | To | |
Rename Attribute | 2 | ||
Rename Attribute port : int to configuration : RestServerConfiguration in class org.infinispan.rest.EmbeddedRestServer | From | To | |
Rename Attribute deploymentManager : DeploymentManager to restServer : Lifecycle in class org.infinispan.server.endpoint.subsystem.RestService | From | To | |
Change Variable Type | 3 | ||
Change Variable Type s : Context to s : NettyRestServer in method public stopServers() : void in class org.infinispan.rest.RestServerTestBase | From | To | |
Change Variable Type ctx : Context to ctx : NettyRestServer in method protected getCacheManager(name String) : EmbeddedCacheManager in class org.infinispan.rest.RestServerTestBase | From | To | |
Change Variable Type s : Context to s : NettyRestServer in method public startServers() : void in class org.infinispan.rest.RestServerTestBase | From | To | |
Extract Variable | 2 | ||
Extract Variable statusCode : int in method public post(uri URI, data Object, contentType String, expectedCode int, headers Object...) : HttpResponse from class org.infinispan.server.test.client.rest.RESTHelper | From | To | |
Extract Variable builder : RestServerConfigurationBuilder in method public startRestServer(manager EmbeddedCacheManager, port int) : EmbeddedRestServer from class org.infinispan.rest.RestTestingUtil | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type port : int to configuration : RestServerConfiguration in class org.infinispan.rest.EmbeddedRestServer | From | To | |
Change Attribute Type deploymentManager : DeploymentManager to restServer : Lifecycle in class org.infinispan.server.endpoint.subsystem.RestService | From | To | |
Change Attribute Type servers : Map<String,Context> to servers : Map<String,NettyRestServer> in class org.infinispan.rest.RestServerTestBase | From | To | |
Extract And Move Method | 4 | ||
Extract And Move Method public port(port int) : RestServerConfigurationBuilder extracted from public start(startContext StartContext) : void in class org.infinispan.server.endpoint.subsystem.RestService & moved to class org.infinispan.rest.configuration.RestServerConfigurationBuilder | From | To | |
Extract And Move Method public host() : String extracted from public getHost() : String in class org.infinispan.rest.EmbeddedRestServer & moved to class org.infinispan.rest.configuration.RestServerConfiguration | From | To | |
Extract And Move Method public port() : int extracted from public getPort() : int in class org.infinispan.rest.EmbeddedRestServer & moved to class org.infinispan.rest.configuration.RestServerConfiguration | From | To | |
Extract And Move Method public host(host String) : RestServerConfigurationBuilder extracted from public start(startContext StartContext) : void in class org.infinispan.server.endpoint.subsystem.RestService & moved to class org.infinispan.rest.configuration.RestServerConfigurationBuilder | From | To | |
Rename Parameter | 1 | ||
Rename Parameter port : int to configuration : RestServerConfiguration in method public EmbeddedRestServer(cacheManager EmbeddedCacheManager, configuration RestServerConfiguration) in class org.infinispan.rest.EmbeddedRestServer | From | To |