35ce3544f7e008566daecb1b57266b1bc4fef7f5
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 67
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method public shouldCreateConfigmapWithPluginFQNs() : void renamed to public shouldCreateConfigMapWithPluginFQNs() : void in class org.eclipse.che.workspace.infrastructure.kubernetes.wsplugins.brokerphases.BrokerEnvironmentFactoryTest | From | To | |
Rename Method public setPluginId(pluginId String) : MachineResolverBuilder renamed to public setPluginName(pluginName String) : MachineResolverBuilder in class org.eclipse.che.workspace.infrastructure.kubernetes.wsplugins.MachineResolverBuilder | From | To | |
Rename Method public shouldUsePluginNameAndContainerNameForMachinesNames() : void renamed to public shouldUseContainerNameForMachinesName() : void in class org.eclipse.che.workspace.infrastructure.kubernetes.wsplugins.KubernetesPluginsToolingApplierTest | From | To | |
Rename Method public shouldDetectDuplicatedPluginsIfTheyArePrefixedSuffixedWithEmptySpaces() : void renamed to public shouldDetectDuplicatedPluginsIfTheyArePrefixedOrSuffixedWithEmptySpaces() : void in class org.eclipse.che.api.workspace.server.wsplugins.PluginFQNParserTest | From | To | |
Push Down Method | 2 | ||
Push Down Method public getVersion() : String from class org.eclipse.che.api.workspace.server.wsplugins.model.PluginFQN to public getVersion() : String from class org.eclipse.che.api.workspace.server.wsplugins.model.ExtendedPluginFQN | From | To | |
Push Down Method public setVersion(version String) : void from class org.eclipse.che.api.workspace.server.wsplugins.model.PluginFQN to public setVersion(version String) : void from class org.eclipse.che.api.workspace.server.wsplugins.model.ExtendedPluginFQN | From | To | |
Extract Subclass | 1 | ||
Extract Subclass org.eclipse.che.api.workspace.server.wsplugins.model.ExtendedPluginFQN from class org.eclipse.che.api.workspace.server.wsplugins.model.PluginFQN | From | To | |
Rename Variable | 1 | ||
Rename Variable chePlugin1 : ChePlugin to chePlugin : ChePlugin in method public shouldUseContainerNameForMachinesName() : void in class org.eclipse.che.workspace.infrastructure.kubernetes.wsplugins.KubernetesPluginsToolingApplierTest | From | To | |
Push Down Attribute | 1 | ||
Push Down Attribute private version : String from class org.eclipse.che.api.workspace.server.wsplugins.model.PluginFQN to private version : String from class org.eclipse.che.api.workspace.server.wsplugins.model.ExtendedPluginFQN | From | To | |
Move Attribute | 3 | ||
Move Attribute private PLUGIN_NAME : String from class org.eclipse.che.workspace.infrastructure.kubernetes.wsplugins.K8sContainerResolverTest to private PLUGIN_NAME : String from class org.eclipse.che.workspace.infrastructure.kubernetes.wsplugins.MachineResolverTest | From | To | |
Move Attribute private pluginName : String from class org.eclipse.che.workspace.infrastructure.kubernetes.wsplugins.K8sContainerResolver to private pluginName : String from class org.eclipse.che.workspace.infrastructure.kubernetes.wsplugins.MachineResolverBuilder | From | To | |
Move Attribute private pluginName : String from class org.eclipse.che.workspace.infrastructure.kubernetes.wsplugins.K8sContainerResolverBuilder to private pluginName : String from class org.eclipse.che.workspace.infrastructure.kubernetes.wsplugins.MachineResolverBuilder | From | To | |
Merge Parameter | 1 | ||
Merge Parameter [attributes : Map<String,String>, expected : List<PluginFQN>] to testCase : AttributeParsingTestCase in method public shouldParseAllPluginsAndEditor(testCase AttributeParsingTestCase) : void in class org.eclipse.che.api.workspace.server.wsplugins.PluginFQNParserTest | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable pluginsAttribute : String to attribute : String in method private parsePluginFQNs(attribute String) : Collection<PluginFQN> in class org.eclipse.che.api.workspace.server.wsplugins.PluginFQNParser | From | To | |
Rename Attribute | 10 | ||
Rename Attribute DEFAULT_EDITOR_ID : String to EDITOR_NAME : String in class org.eclipse.che.api.devfile.server.convert.DefaultEditorProvisionerTest | From | To | |
Rename Attribute DEFAULT_EDITOR_REF : String to EDITOR_REF : String in class org.eclipse.che.api.devfile.server.convert.DefaultEditorProvisionerTest | From | To | |
Rename Attribute DEFAULT_TERMINAL_PLUGIN_REF : String to TERMINAL_PLUGIN_REF : String in class org.eclipse.che.api.devfile.server.convert.DefaultEditorProvisionerTest | From | To | |
Rename Attribute defaultPluginsIdToRef : Map<String,String> to defaultPluginsToRefs : Map<String,String> in class org.eclipse.che.api.devfile.server.convert.DefaultEditorProvisioner | From | To | |
Rename Attribute PLUGIN_ID : String to PLUGIN_PUBLISHER_NAME : String in class org.eclipse.che.workspace.infrastructure.kubernetes.wsplugins.MachineResolverTest | From | To | |
Rename Attribute DEFAULT_COMMAND_PLUGIN_REF : String to COMMAND_PLUGIN_REF : String in class org.eclipse.che.api.devfile.server.convert.DefaultEditorProvisionerTest | From | To | |
Rename Attribute defaultEditorId : String to defaultEditor : String in class org.eclipse.che.api.devfile.server.convert.DefaultEditorProvisioner | From | To | |
Rename Attribute defaultEditorProvisioner : DefaultEditorProvisioner to provisioner : DefaultEditorProvisioner in class org.eclipse.che.api.devfile.server.convert.DefaultEditorProvisionerTest | From | To | |
Rename Attribute pluginId : String to pluginPublisherAndName : String in class org.eclipse.che.workspace.infrastructure.kubernetes.wsplugins.MachineResolver | From | To | |
Rename Attribute DEFAULT_EDITOR_VERSION : String to EDITOR_VERSION : String in class org.eclipse.che.api.devfile.server.convert.DefaultEditorProvisionerTest | From | To | |
Extract Variable | 2 | ||
Extract Variable version : String in method private createChePlugin(name String, containers CheContainer...) : ChePlugin from class org.eclipse.che.workspace.infrastructure.kubernetes.wsplugins.KubernetesPluginsToolingApplierTest | From | To | |
Extract Variable editorsFQNs : Collection<PluginFQN> in method public parsePlugins(attributes Map<String,String>) : Collection<PluginFQN> from class org.eclipse.che.api.workspace.server.wsplugins.PluginFQNParser | From | To | |
Extract Method | 1 | ||
Extract Method private parsePluginFQNs(attribute String) : Collection<PluginFQN> extracted from public parsePlugins(attributes Map<String,String>) : Collection<PluginFQN> in class org.eclipse.che.api.workspace.server.wsplugins.PluginFQNParser | From | To | |
Split Attribute | 1 | ||
Split Attribute PLUGIN_ID : String to [PLUGIN_PUBLISHER : String, PLUGIN_NAME : String] in class org.eclipse.che.workspace.infrastructure.kubernetes.wsplugins.MachineResolverTest | From | To | |
Rename Parameter | 1 | ||
Rename Parameter pluginId : String to pluginName : String in method public setPluginName(pluginName String) : MachineResolverBuilder in class org.eclipse.che.workspace.infrastructure.kubernetes.wsplugins.MachineResolverBuilder | From | To |