6f70043183e2c3e7259ba515266a97caa711b321
Files Diff
- Added: 4
- Removed: 10
- Renamed: 0
- Modified: 46
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 3 | ||
Change Parameter Type componentType : Utils.ComponentType to componentType : ComponentType in method public getProperties(componentType ComponentType, fullyQualifiedName String, instanceId int) : Map<String,String> in class org.apache.pulsar.functions.instance.InstanceUtils | From | To | |
Change Parameter Type componentType : Utils.ComponentType to componentType : ComponentType in method public ContextImpl(config InstanceConfig, logger Logger, client PulsarClient, secretsProvider SecretsProvider, collectorRegistry CollectorRegistry, metricsLabels String[], componentType ComponentType, statsManager ComponentStatsManager) in class org.apache.pulsar.functions.instance.ContextImpl | From | To | |
Change Parameter Type componentType : Utils.ComponentType to componentType : ComponentType in method public getStatsManager(collectorRegistry CollectorRegistry, metricsLabels String[], scheduledExecutorService ScheduledExecutorService, componentType ComponentType) : ComponentStatsManager in class org.apache.pulsar.functions.instance.stats.ComponentStatsManager | From | To | |
Move Method | 1 | ||
Move Method public getDownloadFileName(FunctionDetails FunctionDetails, packageLocation Function.PackageLocationMetaData) : String from class org.apache.pulsar.functions.utils.FunctionDetailsUtils to private getDownloadFileName(FunctionDetails FunctionDetails, packageLocation Function.PackageLocationMetaData) : String from class org.apache.pulsar.functions.worker.FunctionActioner | From | To | |
Change Return Type | 1 | ||
Change Return Type Utils.ComponentType to ComponentType in method public calculateSubjectType(functionDetails Function.FunctionDetails) : ComponentType in class org.apache.pulsar.functions.instance.InstanceUtils | From | To | |
Rename Class | 2 | ||
Rename Class org.apache.pulsar.functions.worker.Utils renamed to org.apache.pulsar.functions.worker.WorkerUtils | From | To | |
Rename Class org.apache.pulsar.functions.utils.Utils renamed to org.apache.pulsar.functions.utils.FunctionCommon | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class org.apache.pulsar.functions.instance.UtilsTest moved and renamed to org.apache.pulsar.functions.utils.FunctionCommonTest | From | To | |
Move Class | 1 | ||
Move Class org.apache.pulsar.functions.utils.Utils.ComponentType moved to org.apache.pulsar.functions.utils.ComponentType | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable tempFile : File to targetFile : File in method public downloadFromHttpUrl(destPkgUrl String, targetFile File) : void in class org.apache.pulsar.functions.utils.FunctionCommon | From | To | |
Change Variable Type | 1 | ||
Change Variable Type componentType : Utils.ComponentType to componentType : ComponentType in method private getLabels(functionDetails Function.FunctionDetails) : Map<String,String> in class org.apache.pulsar.functions.runtime.KubernetesRuntime | From | To | |
Extract Method | 1 | ||
Extract Method public downloadFromHttpUrl(destPkgUrl String, targetFile File) : void extracted from public extractFileFromPkg(destPkgUrl String) : File in class org.apache.pulsar.functions.utils.FunctionCommon | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type componentType : Utils.ComponentType to componentType : ComponentType in class org.apache.pulsar.functions.instance.JavaInstanceRunnable | From | To | |
Change Attribute Type componentType : Utils.ComponentType to componentType : ComponentType in class org.apache.pulsar.functions.instance.ContextImpl | From | To |