a27b62df9f2124e300029b2dfe9709ecbbedacc3
Files Diff
- Added: 7
- Removed: 0
- Renamed: 0
- Modified: 18
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 4 | ||
Rename Variable e : ServerException|InterruptedException to creationEx : ServerException|InterruptedException in method private createInstance(instanceProvider InstanceProvider, machine Machine, machineLogger LineConsumer) : void in class org.eclipse.che.api.machine.server.MachineManager | From | To | |
Rename Variable e : ConflictException to apiEx : ApiException in method private createMachine(machineConfig MachineConfigImpl, workspaceId String, environmentName String, instanceCreator MachineInstanceCreator, snapshot SnapshotImpl, outputConsumer LineConsumer) : MachineImpl in class org.eclipse.che.api.machine.server.MachineManager | From | To | |
Rename Variable machineChannelLink : Link to workspaceChannelLink : Link in method public injectLinks(machine MachineDto, serviceContext ServiceContext) : MachineDto in class org.eclipse.che.api.machine.server.MachineServiceLinksInjector | From | To | |
Rename Variable e1 : IOException|NotFoundException to ioEx : IOException in method private createInstance(instanceProvider InstanceProvider, machine Machine, machineLogger LineConsumer) : void in class org.eclipse.che.api.machine.server.MachineManager | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable logger : LineConsumer to outputConsumer : LineConsumer in method private createMachine(machineConfig MachineConfigImpl, workspaceId String, environmentName String, instanceCreator MachineInstanceCreator, snapshot SnapshotImpl, outputConsumer LineConsumer) : MachineImpl in class org.eclipse.che.api.machine.server.MachineManager | From | To | |
Change Variable Type | 2 | ||
Change Variable Type e : ConflictException to apiEx : ApiException in method private createMachine(machineConfig MachineConfigImpl, workspaceId String, environmentName String, instanceCreator MachineInstanceCreator, snapshot SnapshotImpl, outputConsumer LineConsumer) : MachineImpl in class org.eclipse.che.api.machine.server.MachineManager | From | To | |
Change Variable Type e1 : IOException|NotFoundException to ioEx : IOException in method private createInstance(instanceProvider InstanceProvider, machine Machine, machineLogger LineConsumer) : void in class org.eclipse.che.api.machine.server.MachineManager | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public removeSnapshots(workspaceId String) : void extracted from public delete(id String) : void in class org.eclipse.che.api.workspace.server.WorkspaceService & moved to class org.eclipse.che.api.workspace.server.WorkspaceManager | From | To | |
Extract And Move Method public startMachine(machineConfig MachineConfig, workspaceId String) : MachineImpl extracted from public createMachine(workspaceId String, machineConfig MachineConfigDto) : Response in class org.eclipse.che.api.workspace.server.WorkspaceService & moved to class org.eclipse.che.api.workspace.server.WorkspaceManager | From | To |