1f47c0ac27ad42d3c4b066914a351e23a6cacbef
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 1 | ||
Pull Up Method private errorResponse(throwable Throwable) : Tuple2<ResponseBody,HttpResponseStatus> from class org.apache.flink.runtime.rest.handler.AbstractRestHandler to private handleException(throwable Throwable, ctx ChannelHandlerContext, httpRequest HttpRequest) : CompletableFuture<Void> from class org.apache.flink.runtime.rest.handler.AbstractHandler | From | To | |
Change Return Type | 1 | ||
Change Return Type Tuple2<ResponseBody,HttpResponseStatus> to CompletableFuture<Void> in method private handleException(throwable Throwable, ctx ChannelHandlerContext, httpRequest HttpRequest) : CompletableFuture<Void> in class org.apache.flink.runtime.rest.handler.AbstractHandler | From | To | |
Extract Method | 2 | ||
Extract Method private handleException(throwable Throwable, ctx ChannelHandlerContext, httpRequest HttpRequest) : CompletableFuture<Void> extracted from protected respondAsLeader(ctx ChannelHandlerContext, routedRequest RoutedRequest, gateway T) : void in class org.apache.flink.runtime.rest.handler.AbstractHandler | From | To | |
Extract Method private finalizeRequestProcessing(uploadedFiles FileUploads) : void extracted from protected respondAsLeader(ctx ChannelHandlerContext, routedRequest RoutedRequest, gateway T) : void in class org.apache.flink.runtime.rest.handler.AbstractHandler | From | To |