b163c58a46334b88d37d6ed3bd0c57005fed6411
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 7 | ||
Rename Method public toItemReference(folder FolderEntry, workspace String, uriBuilder UriBuilder) : ItemReference renamed to public asDto(folder FolderEntry) : ItemReference in class org.eclipse.che.api.project.server.DtoConverter | From | To | |
Rename Method public toItemReference(file FileEntry, workspace String, uriBuilder UriBuilder) : ItemReference renamed to public asDto(file FileEntry) : ItemReference in class org.eclipse.che.api.project.server.DtoConverter | From | To | |
Rename Method public updateProjects(projects Collection<RegisteredProject>) : void renamed to package removeProjects(projects Collection<RegisteredProject>) : void in class org.eclipse.che.api.project.server.WsAgentTestBase.TestWorkspaceHolder | From | To | |
Rename Method public toTypeDefinition(projectType ProjectTypeDef) : ProjectTypeDto renamed to public asDto(projectType ProjectTypeDef) : ProjectTypeDto in class org.eclipse.che.api.project.server.DtoConverter | From | To | |
Rename Method public updateProjects(projects Collection<RegisteredProject>) : void renamed to package removeProjects(projects Collection<RegisteredProject>) : void in class org.eclipse.che.api.project.server.ProjectServiceTest.TestWorkspaceHolder | From | To | |
Rename Method public toProjectConfig(project RegisteredProject, workspace String, serviceUriBuilder UriBuilder) : ProjectConfigDto renamed to public asDto(project RegisteredProject) : ProjectConfigDto in class org.eclipse.che.api.project.server.DtoConverter | From | To | |
Rename Method private toSourceDto(sourceStorage SourceStorage) : SourceStorageDto renamed to public asDto(sourceStorage SourceStorage) : SourceStorageDto in class org.eclipse.che.api.project.server.DtoConverter | From | To | |
Move And Rename Method | 2 | ||
Move And Rename Method private generateFolderLinks(folder FolderEntry, workspace String, uriBuilder UriBuilder) : List<Link> from class org.eclipse.che.api.project.server.DtoConverter to private injectFolderLinks(itemReference ItemReference, workspace String) : ItemReference from class org.eclipse.che.api.project.server.ProjectService | From | To | |
Move And Rename Method private generateFileLinks(file FileEntry, workspace String, uriBuilder UriBuilder) : List<Link> from class org.eclipse.che.api.project.server.DtoConverter to private injectFileLinks(itemReference ItemReference, workspace String) : ItemReference from class org.eclipse.che.api.project.server.ProjectService | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type projects : List<RegisteredProject> to projects : List<? extends ProjectConfig> in method public setProjects(projects List<? extends ProjectConfig>) : void in class org.eclipse.che.api.project.server.WorkspaceHolder.UsersWorkspaceImpl | From | To | |
Change Parameter Type projects : List<NewProjectConfig> to projects : List<? extends ProjectConfig> in method public setProjects(projects List<? extends ProjectConfig>) : void in class org.eclipse.che.api.project.server.WorkspaceHolder.WorkspaceConfigImpl | From | To | |
Change Return Type | 2 | ||
Change Return Type List<Link> to ItemReference in method private injectFileLinks(itemReference ItemReference, workspace String) : ItemReference in class org.eclipse.che.api.project.server.ProjectService | From | To | |
Change Return Type List<Link> to ItemReference in method private injectFolderLinks(itemReference ItemReference, workspace String) : ItemReference in class org.eclipse.che.api.project.server.ProjectService | From | To | |
Inline Variable | 2 | ||
Inline Variable uriBuilder : UriBuilder in method public createFolder(workspace String, path String) : Response from class org.eclipse.che.api.project.server.ProjectService | From | To | |
Inline Variable uriBuilder : UriBuilder in method public createFile(workspace String, parentPath String, fileName String, content InputStream) : Response from class org.eclipse.che.api.project.server.ProjectService | From | To | |
Extract Method | 6 | ||
Extract Method private injectFileLinks(itemReference ItemReference, workspace String) : ItemReference extracted from public getChildren(workspace String, path String) : List<ItemReference> in class org.eclipse.che.api.project.server.ProjectService | From | To | |
Extract Method private injectFolderLinks(itemReference ItemReference, workspace String) : ItemReference extracted from public getTree(workspace String, path String, depth int, includeFiles boolean) : TreeElement in class org.eclipse.che.api.project.server.ProjectService | From | To | |
Extract Method private injectFileLinks(itemReference ItemReference, workspace String) : ItemReference extracted from public getItem(workspace String, path String) : ItemReference in class org.eclipse.che.api.project.server.ProjectService | From | To | |
Extract Method private injectFileLinks(itemReference ItemReference, workspace String) : ItemReference extracted from public createFile(workspace String, parentPath String, fileName String, content InputStream) : Response in class org.eclipse.che.api.project.server.ProjectService | From | To | |
Extract Method private injectFolderLinks(itemReference ItemReference, workspace String) : ItemReference extracted from public createFolder(workspace String, path String) : Response in class org.eclipse.che.api.project.server.ProjectService | From | To | |
Extract Method private injectFileLinks(itemReference ItemReference, workspace String) : ItemReference extracted from public search(workspace String, path String, name String, text String, maxItems int, skipCount int) : List<ItemReference> in class org.eclipse.che.api.project.server.ProjectService | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public getProjects() : List<? extends ProjectConfig> extracted from public initProjects() : void in class org.eclipse.che.api.project.server.ProjectRegistry & moved to class org.eclipse.che.api.project.server.WorkspaceHolder.UsersWorkspaceImpl | From | To |