65fee64c2350621dfae677e6bf7d955c47bd8900
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private startMachine(name String, containerConfig DockerContainerConfig, startOptions Map<String,String>, isDev boolean) : void renamed to private restoreMachine(name String, originalConfig DockerContainerConfig) : void in class org.eclipse.che.workspace.infrastructure.docker.DockerInternalRuntime | From | To | |
Rename Variable | 2 | ||
Rename Variable machineConfig : InternalMachineConfig to machineCfg : InternalMachineConfig in method private startMachine(name String, containerConfig DockerContainerConfig) : void in class org.eclipse.che.workspace.infrastructure.docker.DockerInternalRuntime | From | To | |
Rename Variable dockerMachine : DockerMachine to machine : DockerMachine in method private startMachine(name String, containerConfig DockerContainerConfig) : void in class org.eclipse.che.workspace.infrastructure.docker.DockerInternalRuntime | From | To | |
Extract Variable | 1 | ||
Extract Variable machines : Map<String,DockerMachine> in method private destroyRuntime(stopOptions Map<String,String>) : void from class org.eclipse.che.workspace.infrastructure.docker.DockerInternalRuntime | From | To | |
Extract Method | 3 | ||
Extract Method private startMachine(name String, containerConfig DockerContainerConfig) : void extracted from private startMachine(name String, containerConfig DockerContainerConfig, startOptions Map<String,String>, isDev boolean) : void in class org.eclipse.che.workspace.infrastructure.docker.DockerInternalRuntime | From | To | |
Extract Method private isSnapshotEnabled(stopOpts Map<String,String>) : boolean extracted from private destroyRuntime(stopOptions Map<String,String>) : void in class org.eclipse.che.workspace.infrastructure.docker.DockerInternalRuntime | From | To | |
Extract Method private configForSnapshot(snapshot SnapshotImpl, originCfg DockerContainerConfig) : DockerContainerConfig extracted from private startMachine(name String, containerConfig DockerContainerConfig, startOptions Map<String,String>, isDev boolean) : void in class org.eclipse.che.workspace.infrastructure.docker.DockerInternalRuntime | From | To | |
Rename Parameter | 2 | ||
Rename Parameter stopOptions : Map<String,String> to stopOpts : Map<String,String> in method private isSnapshotEnabled(stopOpts Map<String,String>) : boolean in class org.eclipse.che.workspace.infrastructure.docker.DockerInternalRuntime | From | To | |
Rename Parameter containerConfig : DockerContainerConfig to originalConfig : DockerContainerConfig in method private restoreMachine(name String, originalConfig DockerContainerConfig) : void in class org.eclipse.che.workspace.infrastructure.docker.DockerInternalRuntime | From | To |