bafddd7985271bea2557b57bab9ca1cc457124fa
Files Diff
- Added: 2
- Removed: 2
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 2 | ||
Change Parameter Type configuration : RestClientEndpointConfiguration to configuration : RestClientConfiguration in method public RestClient(configuration RestClientConfiguration, executor Executor) in class org.apache.flink.runtime.rest.RestClient | From | To | |
Change Parameter Type configuration : RestClientEndpointConfiguration to configuration : RestClientConfiguration in method package TestRestClient(configuration RestClientConfiguration) in class org.apache.flink.runtime.rest.RestEndpointITCase.TestRestClient | From | To | |
Rename Variable | 1 | ||
Rename Variable ch : ChannelFuture to channel : ChannelFuture in method public start() : void in class org.apache.flink.runtime.rest.RestServerEndpoint | From | To | |
Change Return Type | 7 | ||
Change Return Type Collection<MessagePathParameter> to Collection<MessagePathParameter<?>> in method public abstract getPathParameters() : Collection<MessagePathParameter<?>> in class org.apache.flink.runtime.rest.messages.MessageParameters | From | To | |
Change Return Type RestClientEndpointConfiguration to RestClientConfiguration in method public fromConfiguration(config Configuration) : RestClientConfiguration in class org.apache.flink.runtime.rest.RestClientConfiguration | From | To | |
Change Return Type Collection<MessageQueryParameter> to Collection<MessageQueryParameter<?>> in method public getQueryParameters() : Collection<MessageQueryParameter<?>> in class org.apache.flink.runtime.rest.RestEndpointITCase.TestParameters | From | To | |
Change Return Type Collection<MessageQueryParameter> to Collection<MessageQueryParameter<?>> in method public getQueryParameters() : Collection<MessageQueryParameter<?>> in class org.apache.flink.runtime.rest.messages.MessageParametersTest.TestMessageParameters | From | To | |
Change Return Type Collection<MessageQueryParameter> to Collection<MessageQueryParameter<?>> in method public abstract getQueryParameters() : Collection<MessageQueryParameter<?>> in class org.apache.flink.runtime.rest.messages.MessageParameters | From | To | |
Change Return Type Collection<MessagePathParameter> to Collection<MessagePathParameter<?>> in method public getPathParameters() : Collection<MessagePathParameter<?>> in class org.apache.flink.runtime.rest.messages.MessageParametersTest.TestMessageParameters | From | To | |
Change Return Type Collection<MessagePathParameter> to Collection<MessagePathParameter<?>> in method public getPathParameters() : Collection<MessagePathParameter<?>> in class org.apache.flink.runtime.rest.RestEndpointITCase.TestParameters | From | To | |
Rename Class | 3 | ||
Rename Class org.apache.flink.runtime.rest.RestClientEndpoint renamed to org.apache.flink.runtime.rest.RestClient | From | To | |
Rename Class org.apache.flink.runtime.rest.RestClientEndpointConfiguration renamed to org.apache.flink.runtime.rest.RestClientConfiguration | From | To | |
Rename Class org.apache.flink.runtime.rest.RestEndpointITCase.TestRestClientEndpoint renamed to org.apache.flink.runtime.rest.RestEndpointITCase.TestRestClient | From | To | |
Change Variable Type | 4 | ||
Change Variable Type queryParameter : MessageQueryParameter to queryParameter : MessageQueryParameter<?> in method public resolveUrl(genericUrl String, parameters MessageParameters) : String in class org.apache.flink.runtime.rest.messages.MessageParameters | From | To | |
Change Variable Type clientEndpoint : RestClientEndpoint to clientEndpoint : RestClient in method public testEndpoints() : void in class org.apache.flink.runtime.rest.RestEndpointITCase | From | To | |
Change Variable Type pathParameter : MessageParameter to pathParameter : MessageParameter<?> in method public resolveUrl(genericUrl String, parameters MessageParameters) : String in class org.apache.flink.runtime.rest.messages.MessageParameters | From | To | |
Change Variable Type clientConfig : RestClientEndpointConfiguration to clientConfig : RestClientConfiguration in method public testEndpoints() : void in class org.apache.flink.runtime.rest.RestEndpointITCase | From | To | |
Extract Variable | 2 | ||
Extract Variable clazz : Class<? extends MessagePathParameter<?>> in method public HandlerRequest(requestBody R, messageParameters M, receivedPathParameters Map<String,String>, receivedQueryParameters Map<String,List<String>>) from class org.apache.flink.runtime.rest.handler.HandlerRequest | From | To | |
Extract Variable clazz : Class<? extends MessageQueryParameter<?>> in method public HandlerRequest(requestBody R, messageParameters M, receivedPathParameters Map<String,String>, receivedQueryParameters Map<String,List<String>>) from class org.apache.flink.runtime.rest.handler.HandlerRequest | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type pathParameters : Map<Class<? extends MessagePathParameter>,MessagePathParameter<?>> to pathParameters : Map<Class<? extends MessagePathParameter<?>>,MessagePathParameter<?>> in class org.apache.flink.runtime.rest.handler.HandlerRequest | From | To | |
Change Attribute Type queryParameters : Map<Class<? extends MessageQueryParameter>,MessageQueryParameter<?>> to queryParameters : Map<Class<? extends MessageQueryParameter<?>>,MessageQueryParameter<?>> in class org.apache.flink.runtime.rest.handler.HandlerRequest | From | To | |
Rename Parameter | 3 | ||
Rename Parameter queryParameters : Map<String,List<String>> to receivedQueryParameters : Map<String,List<String>> in method public HandlerRequest(requestBody R, messageParameters M, receivedPathParameters Map<String,String>, receivedQueryParameters Map<String,List<String>>) in class org.apache.flink.runtime.rest.handler.HandlerRequest | From | To | |
Rename Parameter targetRestEndpointPort : int to restBindPort : int in method private RestServerEndpointConfiguration(restBindAddress String, restBindPort int, sslEngine SSLEngine) in class org.apache.flink.runtime.rest.RestServerEndpointConfiguration | From | To | |
Rename Parameter pathParameters : Map<String,String> to receivedPathParameters : Map<String,String> in method public HandlerRequest(requestBody R, messageParameters M, receivedPathParameters Map<String,String>, receivedQueryParameters Map<String,List<String>>) in class org.apache.flink.runtime.rest.handler.HandlerRequest | From | To |