18ef415157a23c42c5d9ca0e3d353386efaa421c
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private getSubPath(workspaceId String, volumeName String, machineName String) : String renamed to private getVolumeSubPath(workspaceId String, volumeName String, machineName String) : String in class org.eclipse.che.workspace.infrastructure.kubernetes.namespace.pvc.UniqueWorkspacePVCStrategy | From | To | |
Rename Variable | 2 | ||
Rename Variable pvc : PersistentVolumeClaim to commonPVC : PersistentVolumeClaim in method private provisionCommonPVC(k8sEnv KubernetesEnvironment, identity RuntimeIdentity) : PersistentVolumeClaim in class org.eclipse.che.workspace.infrastructure.kubernetes.namespace.pvc.CommonPVCStrategy | From | To | |
Rename Variable pvc : PersistentVolumeClaim to commonPVC : PersistentVolumeClaim in method public provision(k8sEnv KubernetesEnvironment, identity RuntimeIdentity) : void in class org.eclipse.che.workspace.infrastructure.kubernetes.namespace.pvc.CommonPVCStrategy | From | To | |
Rename Attribute | 1 | ||
Rename Attribute pvcName : String to configuredPVCName : String in class org.eclipse.che.workspace.infrastructure.kubernetes.namespace.pvc.CommonPVCStrategy | From | To | |
Inline Variable | 1 | ||
Inline Variable claims : Map<String,PersistentVolumeClaim> in method public provision(k8sEnv KubernetesEnvironment, identity RuntimeIdentity) : void from class org.eclipse.che.workspace.infrastructure.kubernetes.namespace.pvc.UniqueWorkspacePVCStrategy | From | To | |
Extract Method | 3 | ||
Extract Method private provisionCommonPVC(k8sEnv KubernetesEnvironment, identity RuntimeIdentity) : PersistentVolumeClaim extracted from public provision(k8sEnv KubernetesEnvironment, identity RuntimeIdentity) : void in class org.eclipse.che.workspace.infrastructure.kubernetes.namespace.pvc.CommonPVCStrategy | From | To | |
Extract Method private provisionCheVolumes(volumeName2PVC Map<String,PersistentVolumeClaim>, k8sEnv KubernetesEnvironment, workspaceId String) : void extracted from public provision(k8sEnv KubernetesEnvironment, identity RuntimeIdentity) : void in class org.eclipse.che.workspace.infrastructure.kubernetes.namespace.pvc.UniqueWorkspacePVCStrategy | From | To | |
Extract Method private provisionCheVolumes(k8sEnv KubernetesEnvironment, workspaceId String, commonPVCName String) : void extracted from public provision(k8sEnv KubernetesEnvironment, identity RuntimeIdentity) : void in class org.eclipse.che.workspace.infrastructure.kubernetes.namespace.pvc.CommonPVCStrategy | From | To | |
Rename Parameter | 1 | ||
Rename Parameter pvcName : String to configuredPVCName : String in method public CommonPVCStrategy(configuredPVCName String, pvcQuantity String, pvcAccessMode String, preCreateDirs boolean, pvcSubPathHelper PVCSubPathHelper, factory KubernetesNamespaceFactory, ephemeralWorkspaceAdapter EphemeralWorkspaceAdapter) in class org.eclipse.che.workspace.infrastructure.kubernetes.namespace.pvc.CommonPVCStrategy | From | To |