2301e5ebb9494882a247e0ce5e32d3d7e1922462
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 14
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private getValidatedEnvironmentName(workspace WorkspaceImpl, envName String) : String renamed to private getValidatedEnvironment(workspace WorkspaceImpl, envName String) : Optional<Pair<String,Environment>> in class org.eclipse.che.api.workspace.server.WorkspaceManager | From | To | |
Change Parameter Type | 5 | ||
Change Parameter Type workspace : Workspace to workspace : WorkspaceImpl in method public stopAsync(workspace WorkspaceImpl, options Map<String,String>) : CompletableFuture<Void> in class org.eclipse.che.api.workspace.server.WorkspaceRuntimes | From | To | |
Change Parameter Type workspace : Workspace to workspace : WorkspaceImpl in method public StopRuntimeTask(workspace WorkspaceImpl, options Map<String,String>, stoppedBy String) in class org.eclipse.che.api.workspace.server.WorkspaceRuntimes.StopRuntimeTask | From | To | |
Change Parameter Type workspace : Workspace to workspace : WorkspaceImpl in method public StartRuntimeTask(workspace WorkspaceImpl, options Map<String,String>, runtime InternalRuntime) in class org.eclipse.che.api.workspace.server.WorkspaceRuntimes.StartRuntimeTask | From | To | |
Change Parameter Type workspace : Workspace to workspace : WorkspaceImpl in method private mockStart(workspace WorkspaceImpl) : void in class org.eclipse.che.api.workspace.server.WorkspaceManagerTest | From | To | |
Change Parameter Type workspace : Workspace to workspace : WorkspaceImpl in method public startAsync(workspace WorkspaceImpl, environment Pair<String,Environment>, commands List<? extends Command>, attributes Map<String,String>, options Map<String,String>) : CompletableFuture<Void> in class org.eclipse.che.api.workspace.server.WorkspaceRuntimes | From | To | |
Rename Variable | 1 | ||
Rename Variable env : String to validEnvOpt : Optional<Pair<String,Environment>> in method private startAsync(workspace WorkspaceImpl, envName String, options Map<String,String>) : void in class org.eclipse.che.api.workspace.server.WorkspaceManager | From | To | |
Change Return Type | 1 | ||
Change Return Type String to Optional<Pair<String,Environment>> in method private getValidatedEnvironment(workspace WorkspaceImpl, envName String) : Optional<Pair<String,Environment>> in class org.eclipse.che.api.workspace.server.WorkspaceManager | From | To | |
Change Variable Type | 1 | ||
Change Variable Type env : String to validEnvOpt : Optional<Pair<String,Environment>> in method private startAsync(workspace WorkspaceImpl, envName String, options Map<String,String>) : void in class org.eclipse.che.api.workspace.server.WorkspaceManager | From | To | |
Extract Variable | 4 | ||
Extract Variable config : WorkspaceConfig in method private getValidatedEnvironment(workspace WorkspaceImpl, envName String) : Optional<Pair<String,Environment>> from class org.eclipse.che.api.workspace.server.WorkspaceManager | From | To | |
Extract Variable config : WorkspaceConfigImpl in method public getUsedResource(accountId String) : Optional<Resource> from class org.eclipse.che.multiuser.resource.api.usage.tracker.RamResourceUsageTracker | From | To | |
Extract Variable config : WorkspaceConfigImpl in method public startWorkspace(workspaceId String, envName String, options Map<String,String>) : WorkspaceImpl from class org.eclipse.che.multiuser.resource.api.workspace.LimitsCheckingWorkspaceManager | From | To | |
Extract Variable environment : Environment in method private getValidatedEnvironment(workspace WorkspaceImpl, envName String) : Optional<Pair<String,Environment>> from class org.eclipse.che.api.workspace.server.WorkspaceManager | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type workspace : Workspace to workspace : WorkspaceImpl in class org.eclipse.che.api.workspace.server.WorkspaceRuntimes.StartRuntimeTask | From | To | |
Change Attribute Type workspace : Workspace to workspace : WorkspaceImpl in class org.eclipse.che.api.workspace.server.WorkspaceRuntimes.StopRuntimeTask | From | To | |
Extract Method | 1 | ||
Extract Method private doCreateWorkspace(config WorkspaceConfig, devfile Devfile, account Account, attributes Map<String,String>, isTemporary boolean) : WorkspaceImpl extracted from private doCreateWorkspace(config WorkspaceConfig, account Account, attributes Map<String,String>, isTemporary boolean) : WorkspaceImpl in class org.eclipse.che.api.workspace.server.WorkspaceManager | From | To |