658410556f8d0d5c91316890111ff7dc9d57cba1
Files Diff
- Added: 1
- Removed: 4
- Renamed: 0
- Modified: 20
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private removeProject(project RegisteredProject) : void renamed to protected addProject(project ProjectConfig) : void in class org.eclipse.che.api.project.server.WorkspaceHolder | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type workspaceHolder : WorkspaceHolder to workspaceHolder : WorkspaceProjectsSyncer in method public ProjectRegistry(workspaceHolder WorkspaceProjectsSyncer, vfsProvider VirtualFileSystemProvider, projectTypeRegistry ProjectTypeRegistry, handlers ProjectHandlerRegistry, eventService EventService) in class org.eclipse.che.api.project.server.ProjectRegistry | From | To | |
Change Parameter Type project : RegisteredProject to project : ProjectConfig in method protected addProject(project ProjectConfig) : void in class org.eclipse.che.api.project.server.WorkspaceHolder | From | To | |
Move Method | 2 | ||
Move Method public getProjects() : List<? extends ProjectConfig> from class org.eclipse.che.api.project.server.WorkspaceHolder.UsersWorkspaceImpl to public getProjects() : List<? extends ProjectConfig> from class org.eclipse.che.api.project.server.WorkspaceHolder | From | To | |
Move Method public getProjects() : List<? extends ProjectConfig> from class org.eclipse.che.api.project.server.WorkspaceHolder.WorkspaceConfigImpl to public getProjects() : List<? extends ProjectConfig> from class org.eclipse.che.plugin.maven.server.projecttype.handler.MavenProjectResolverTest.TestWorkspaceHolder | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.eclipse.che.api.project.server.WorkspaceProjectsSyncer from classes [org.eclipse.che.api.project.server.WorkspaceHolder, org.eclipse.che.plugin.maven.server.projecttype.handler.MavenProjectResolverTest.TestWorkspaceHolder, org.eclipse.che.api.project.server.WsAgentTestBase.TestWorkspaceHolder] | From | To | |
Change Variable Type | 6 | ||
Change Variable Type projects : List<ProjectConfigDto> to projects : List<ProjectConfig> in method public setUp() : void in class org.eclipse.che.api.project.server.ProjectManagerReadTest | From | To | |
Change Variable Type workspaceHolder : WorkspaceHolder to workspaceHolder : WorkspaceProjectsSyncer in method public setUp() : void in class org.eclipse.che.api.project.server.ProjectServiceTest | From | To | |
Change Variable Type projects : List<ProjectConfigDto> to projects : List<ProjectConfig> in method public setUp() : void in class org.eclipse.che.api.project.server.ExtensionCasesTest | From | To | |
Change Variable Type firstProject : ProjectConfigImpl to firstProject : ProjectConfig in method public shouldDeleteProject() : void in class org.eclipse.che.api.workspace.server.WorkspaceServiceTest | From | To | |
Change Variable Type predicate : Predicate<ProjectConfigImpl> to predicate : Predicate<ProjectConfig> in method private excludeProjectsWithoutLocation(usersWorkspace WorkspaceImpl, projectPath String) : void in class org.eclipse.che.api.factory.server.FactoryService | From | To | |
Change Variable Type workspaceHolder : WorkspaceHolder to workspaceHolder : TestWorkspaceHolder in method public setUp() : void in class org.eclipse.che.plugin.maven.server.projecttype.handler.MavenProjectResolverTest | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type workspaceHolder : WorkspaceHolder to workspaceHolder : WorkspaceProjectsSyncer in class org.eclipse.che.api.project.server.ProjectRegistry | From | To | |
Inline Variable | 1 | ||
Inline Variable projects : List<? extends ProjectConfig> in method public importProject(path String, sourceStorage SourceStorage, rewrite boolean) : RegisteredProject from class org.eclipse.che.api.project.server.ProjectManager | 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.WsAgentTestBase.TestWorkspaceHolder | From | To |