d4794bd5e100a946780ff562bf45ef44a7dc5281
Files Diff
- Added: 1
- Removed: 1
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Inline Method | 2 | ||
Inline Method private fromFunctionInstanceStatus(functionInstanceStatusData FunctionStatus.FunctionInstanceStatus.FunctionInstanceStatusData) : SinkStatus.SinkInstanceStatus.SinkInstanceStatusData inlined to public getSinkInstanceStatus(tenant String, namespace String, sinkName String, instanceId String, uri URI) : SinkStatus.SinkInstanceStatus.SinkInstanceStatusData in class org.apache.pulsar.functions.worker.rest.api.SinkImpl | From | To | |
Inline Method private fromFunctionInstanceStatus(functionInstanceStatusData FunctionStatus.FunctionInstanceStatus.FunctionInstanceStatusData) : SourceStatus.SourceInstanceStatus.SourceInstanceStatusData inlined to public getSourceInstanceStatus(tenant String, namespace String, sourceName String, instanceId String, uri URI) : SourceStatus.SourceInstanceStatus.SourceInstanceStatusData in class org.apache.pulsar.functions.worker.rest.api.SourceImpl | From | To | |
Move Class | 1 | ||
Move Class org.apache.pulsar.functions.worker.rest.api.FunctionsImplBase.ComponentType moved to org.apache.pulsar.functions.worker.rest.api.ComponentImpl.ComponentType | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.apache.pulsar.functions.worker.rest.api.ComponentImpl from classes [org.apache.pulsar.functions.worker.rest.api.FunctionsImpl, org.apache.pulsar.functions.worker.rest.api.SinkImpl, org.apache.pulsar.functions.worker.rest.api.SourceImpl] | From | To | |
Extract Method | 1 | ||
Extract Method private getFunctionRuntimeInfoInternal(fullyQualifiedInstanceId String) : FunctionRuntimeInfo extracted from private getFunctionRuntimeInfo(fullyQualifiedInstanceId String) : FunctionRuntimeInfo in class org.apache.pulsar.functions.worker.FunctionRuntimeManager | From | To | |
Rename Parameter | 2 | ||
Rename Parameter requestUri : URI to uri : URI in method public getSourceInstanceStatus(tenant String, namespace String, sourceName String, instanceId String, uri URI) : SourceStatus.SourceInstanceStatus.SourceInstanceStatusData in class org.apache.pulsar.functions.worker.rest.api.SourceImpl | From | To | |
Rename Parameter requestUri : URI to uri : URI in method public getSinkInstanceStatus(tenant String, namespace String, sinkName String, instanceId String, uri URI) : SinkStatus.SinkInstanceStatus.SinkInstanceStatusData in class org.apache.pulsar.functions.worker.rest.api.SinkImpl | From | To |