6be584f6a35e727377f0bc0968de57c50478164d
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 2 | ||
Change Parameter Type file : File to className : String in method public getSourceType(className String) : Class<?> in class org.apache.pulsar.functions.utils.Utils | From | To | |
Change Parameter Type file : File to className : String in method public getSinkType(className String) : Class<?> in class org.apache.pulsar.functions.utils.Utils | From | To | |
Move Method | 6 | ||
Move Method private convertProcessingGuarantee(processingGuarantees FunctionConfig.ProcessingGuarantees) : ProcessingGuarantees from class org.apache.pulsar.admin.cli.CmdSources to public convertProcessingGuarantee(processingGuarantees FunctionConfig.ProcessingGuarantees) : Function.ProcessingGuarantees from class org.apache.pulsar.functions.utils.Utils | From | To | |
Move Method private getSinkType(file File) : Class<?> from class org.apache.pulsar.admin.cli.CmdSinks.SinkCommand to public getSinkType(className String) : Class<?> from class org.apache.pulsar.functions.utils.Utils | From | To | |
Move Method private convertProcessingGuarantee(processingGuarantees FunctionConfig.ProcessingGuarantees) : ProcessingGuarantees from class org.apache.pulsar.admin.cli.CmdFunctions to public convertProcessingGuarantee(processingGuarantees FunctionConfig.ProcessingGuarantees) : Function.ProcessingGuarantees from class org.apache.pulsar.functions.utils.Utils | From | To | |
Move Method private getSourceType(file File) : Class<?> from class org.apache.pulsar.admin.cli.CmdSources.SourceCommand to public getSourceType(className String) : Class<?> from class org.apache.pulsar.functions.utils.Utils | From | To | |
Move Method private convertProcessingGuarantee(processingGuarantees FunctionConfig.ProcessingGuarantees) : ProcessingGuarantees from class org.apache.pulsar.admin.cli.CmdSinks to public convertProcessingGuarantee(processingGuarantees FunctionConfig.ProcessingGuarantees) : Function.ProcessingGuarantees from class org.apache.pulsar.functions.utils.Utils | From | To | |
Move Method private convertRuntime(runtime FunctionConfig.Runtime) : FunctionDetails.Runtime from class org.apache.pulsar.admin.cli.CmdFunctions to public convertRuntime(runtime FunctionConfig.Runtime) : Runtime from class org.apache.pulsar.functions.utils.Utils | From | To | |
Change Return Type | 4 | ||
Change Return Type FunctionDetails.Runtime to Runtime in method public convertRuntime(runtime FunctionConfig.Runtime) : Runtime in class org.apache.pulsar.functions.utils.Utils | From | To | |
Change Return Type ProcessingGuarantees to Function.ProcessingGuarantees in method public convertProcessingGuarantee(processingGuarantees FunctionConfig.ProcessingGuarantees) : Function.ProcessingGuarantees in class org.apache.pulsar.functions.utils.Utils | From | To | |
Extract Method | 4 | ||
Extract Method protected validateSourceConfigs(sourceConfig SourceConfig) : void extracted from protected createSourceConfig(sourceConfig SourceConfig) : FunctionDetails in class org.apache.pulsar.admin.cli.CmdSources.SourceCommand | From | To | |
Extract Method protected validateSinkConfigs(sinkConfig SinkConfig) : void extracted from protected createSinkConfig(sinkConfig SinkConfig) : FunctionDetails in class org.apache.pulsar.admin.cli.CmdSinks.SinkCommand | From | To | |
Extract Method private inferMissingArguments(sinkConfig SinkConfig) : void extracted from package processArguments() : void in class org.apache.pulsar.admin.cli.CmdSinks.SinkCommand | From | To | |
Extract Method private inferMissingArguments(sourceConfig SourceConfig) : void extracted from package processArguments() : void in class org.apache.pulsar.admin.cli.CmdSources.SourceCommand | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type parallelism : String to parallelism : Integer in class org.apache.pulsar.admin.cli.CmdSources.SourceCommand | From | To | |
Change Attribute Type parallelism : String to parallelism : Integer in class org.apache.pulsar.admin.cli.CmdSinks.SinkCommand | From | To | |
Rename Parameter | 2 | ||
Rename Parameter file : File to className : String in method public getSinkType(className String) : Class<?> in class org.apache.pulsar.functions.utils.Utils | From | To | |
Rename Parameter file : File to className : String in method public getSourceType(className String) : Class<?> in class org.apache.pulsar.functions.utils.Utils | From | To |