4518aa82c7d32dc1a139e60c1984dac2ca850605
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method private checkArgument(expression boolean, errorMessage String) : void renamed to private check(expression boolean, fmt String, args Object...) : void in class org.eclipse.che.api.workspace.server.WorkspaceValidator | From | To | |
Rename Method private checkArgument(expression boolean, errorMessageTemplate String, errorMessageParams Object...) : void renamed to private check(expression boolean, message String) : void in class org.eclipse.che.api.workspace.server.WorkspaceValidator | From | To | |
Rename Variable | 1 | ||
Rename Variable envEntry : Map.Entry<String,? extends Environment> to environment : Environment in method public validateConfig(config WorkspaceConfig) : void in class org.eclipse.che.api.workspace.server.WorkspaceValidator | From | To | |
Inline Method | 1 | ||
Inline Method private validateEnvironment(environment Environment) : void inlined to public validateConfig(config WorkspaceConfig) : void in class org.eclipse.che.api.workspace.server.WorkspaceValidator | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable workspace : WorkspaceImpl to update : Workspace in method private doUpdate(id String, update Workspace) : WorkspaceDto in class org.eclipse.che.api.workspace.server.WorkspaceService | From | To | |
Change Variable Type | 4 | ||
Change Variable Type options : Map to options : Map<String,String> in method public stop(id String, createSnapshot Boolean) : void in class org.eclipse.che.api.workspace.server.WorkspaceService | From | To | |
Change Variable Type options : Map to options : Map<String,String> in method public startById(workspaceId String, envName String, restore Boolean) : WorkspaceDto in class org.eclipse.che.api.workspace.server.WorkspaceService | From | To | |
Change Variable Type workspace : WorkspaceImpl to update : Workspace in method private doUpdate(id String, update Workspace) : WorkspaceDto in class org.eclipse.che.api.workspace.server.WorkspaceService | From | To | |
Change Variable Type envEntry : Map.Entry<String,? extends Environment> to environment : Environment in method public validateConfig(config WorkspaceConfig) : void in class org.eclipse.che.api.workspace.server.WorkspaceValidator | From | To | |
Extract Method | 1 | ||
Extract Method private doUpdate(id String, update Workspace) : WorkspaceDto extracted from public deleteCommand(id String, commandName String) : void in class org.eclipse.che.api.workspace.server.WorkspaceService | From | To | |
Rename Parameter | 2 | ||
Rename Parameter errorMessageTemplate : String to message : String in method private check(expression boolean, message String) : void in class org.eclipse.che.api.workspace.server.WorkspaceValidator | From | To | |
Rename Parameter errorMessage : String to fmt : String in method private check(expression boolean, fmt String, args Object...) : void in class org.eclipse.che.api.workspace.server.WorkspaceValidator | From | To |