844404630f01add24100b31ced3de255cf733ea9
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Inline Variable | 1 | ||
Inline Variable instance : Function.Instance in method private startFunction(functionRuntimeInfo FunctionRuntimeInfo) : void from class org.apache.pulsar.functions.worker.FunctionActioner | From | To | |
Extract Method | 3 | ||
Extract Method private validateUpdateRequestParams(tenant String, namespace String, functionName String, functionDetailsJson String) : FunctionDetails extracted from private validateUpdateRequestParams(tenant String, namespace String, functionName String, uploadedInputStream InputStream, fileDetail FormDataContentDisposition, functionDetailsJson String) : FunctionDetails in class org.apache.pulsar.functions.worker.rest.api.FunctionsImpl | From | To | |
Extract Method private downloadFile(pkgFile File, isPkgUrlProvided boolean, functionMetaData FunctionMetaData, instanceId int) : void extracted from private startFunction(functionRuntimeInfo FunctionRuntimeInfo) : void in class org.apache.pulsar.functions.worker.FunctionActioner | From | To | |
Extract Method private updateRequest(functionMetaData FunctionMetaData) : Response extracted from private updateRequest(functionMetaData FunctionMetaData, uploadedInputStream InputStream) : Response in class org.apache.pulsar.functions.worker.rest.api.FunctionsImpl | From | To |