70fd9939e911a6de098adc4a3142a8d994e2ad90
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 1
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method private getStackTrace(executionAttemptId ExecutionAttemptID, maxStackTraceDepth int) : Optional<StackTraceElement[]> from class org.apache.flink.runtime.taskexecutor.TaskExecutor to private truncateStackTrace(stackTrace StackTraceElement[], maxStackTraceDepth int) : StackTraceElement[] from class org.apache.flink.runtime.taskexecutor.StackTraceSampleService | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type resultFuture : CompletableFuture<StackTraceSampleResponse> to resultFuture : CompletableFuture<List<StackTraceElement[]>> in method private requestStackTraceSample(task StackTraceSampleableTask, numSamples int, delayBetweenSamples Time, maxStackTraceDepth int, currentTraces List<StackTraceElement[]>, resultFuture CompletableFuture<List<StackTraceElement[]>>) : CompletableFuture<List<StackTraceElement[]>> in class org.apache.flink.runtime.taskexecutor.StackTraceSampleService | From | To | |
Change Parameter Type executionAttemptId : ExecutionAttemptID to stackTrace : StackTraceElement[] in method private truncateStackTrace(stackTrace StackTraceElement[], maxStackTraceDepth int) : StackTraceElement[] in class org.apache.flink.runtime.taskexecutor.StackTraceSampleService | From | To | |
Move Method | 1 | ||
Move Method private requestStackTraceSample(executionAttemptId ExecutionAttemptID, sampleId int, numSamples int, delayBetweenSamples Time, maxStackTraceDepth int, currentTraces List<StackTraceElement[]>, resultFuture CompletableFuture<StackTraceSampleResponse>) : CompletableFuture<StackTraceSampleResponse> from class org.apache.flink.runtime.taskexecutor.TaskExecutor to private requestStackTraceSample(task StackTraceSampleableTask, numSamples int, delayBetweenSamples Time, maxStackTraceDepth int, currentTraces List<StackTraceElement[]>, resultFuture CompletableFuture<List<StackTraceElement[]>>) : CompletableFuture<List<StackTraceElement[]>> from class org.apache.flink.runtime.taskexecutor.StackTraceSampleService | From | To | |
Change Return Type | 2 | ||
Change Return Type CompletableFuture<StackTraceSampleResponse> to CompletableFuture<List<StackTraceElement[]>> in method private requestStackTraceSample(task StackTraceSampleableTask, numSamples int, delayBetweenSamples Time, maxStackTraceDepth int, currentTraces List<StackTraceElement[]>, resultFuture CompletableFuture<List<StackTraceElement[]>>) : CompletableFuture<List<StackTraceElement[]>> in class org.apache.flink.runtime.taskexecutor.StackTraceSampleService | From | To | |
Change Return Type Optional<StackTraceElement[]> to StackTraceElement[] in method private truncateStackTrace(stackTrace StackTraceElement[], maxStackTraceDepth int) : StackTraceElement[] in class org.apache.flink.runtime.taskexecutor.StackTraceSampleService | From | To | |
Rename Parameter | 1 | ||
Rename Parameter executionAttemptId : ExecutionAttemptID to stackTrace : StackTraceElement[] in method private truncateStackTrace(stackTrace StackTraceElement[], maxStackTraceDepth int) : StackTraceElement[] in class org.apache.flink.runtime.taskexecutor.StackTraceSampleService | From | To |