ef91057b658d202f01219396e5532763129de7dc
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method private currentUser() : User renamed to private currentUserId() : String in class org.eclipse.che.api.user.server.UserService | From | To | |
Rename Method public getById(id String) : UsersWorkspaceDto renamed to public getByKey(key String) : UsersWorkspaceDto in class org.eclipse.che.api.workspace.server.WorkspaceService | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type userDao : UserDao to userManager : UserManager in method public UserService(userManager UserManager, tokenValidator TokenValidator, userSelfCreationAllowed boolean) in class org.eclipse.che.api.user.server.UserService | From | To | |
Move Method | 1 | ||
Move Method public shouldGeneratedPasswordWhenCreatingUserAndItIsMissing() : void from class org.eclipse.che.api.user.server.UserServiceTest to public shouldGeneratedPasswordWhenCreatingUserAndItIsMissing() : void from class org.eclipse.che.api.user.server.UserManagerTest | From | To | |
Change Return Type | 1 | ||
Change Return Type User to String in method private currentUserId() : String in class org.eclipse.che.api.user.server.UserService | From | To | |
Move Attribute | 6 | ||
Move Attribute private profileDao : UserProfileDao from class org.eclipse.che.api.user.server.UserService to private profileDao : UserProfileDao from class org.eclipse.che.api.user.server.UserManager | From | To | |
Move Attribute package profileDao : UserProfileDao from class org.eclipse.che.api.user.server.UserServiceTest to package profileDao : UserProfileDao from class org.eclipse.che.api.user.server.UserManagerTest | From | To | |
Move Attribute package preferenceDao : PreferenceDao from class org.eclipse.che.api.user.server.UserServiceTest to package preferenceDao : PreferenceDao from class org.eclipse.che.api.user.server.UserManagerTest | From | To | |
Move Attribute package userDao : UserDao from class org.eclipse.che.api.user.server.UserServiceTest to package userDao : UserDao from class org.eclipse.che.api.user.server.UserManagerTest | From | To | |
Move Attribute private preferenceDao : PreferenceDao from class org.eclipse.che.api.user.server.UserService to private preferenceDao : PreferenceDao from class org.eclipse.che.api.user.server.UserManager | From | To | |
Move Attribute private userDao : UserDao from class org.eclipse.che.api.user.server.UserService to private userDao : UserDao from class org.eclipse.che.api.user.server.UserManager | From | To | |
Extract Class | 2 | ||
Extract Class org.eclipse.che.api.user.server.UserManagerTest from class org.eclipse.che.api.user.server.UserServiceTest | From | To | |
Extract Class org.eclipse.che.api.user.server.UserManager from class org.eclipse.che.api.user.server.UserService | From | To | |
Rename Attribute | 2 | ||
Rename Attribute userDao : UserDao to userManager : UserManager in class org.eclipse.che.api.user.server.UserServiceTest | From | To | |
Rename Attribute userDao : UserDao to userManager : UserManager in class org.eclipse.che.api.user.server.UserService | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type userDao : UserDao to userManager : UserManager in class org.eclipse.che.api.user.server.UserService | From | To | |
Change Attribute Type userDao : UserDao to userManager : UserManager in class org.eclipse.che.api.user.server.UserServiceTest | From | To | |
Rename Parameter | 4 | ||
Rename Parameter workspaceId : String to key : String in method public getWorkspace(key String) : UsersWorkspaceImpl in class org.eclipse.che.api.workspace.server.WorkspaceManager | From | To | |
Rename Parameter userDao : UserDao to userManager : UserManager in method public UserService(userManager UserManager, tokenValidator TokenValidator, userSelfCreationAllowed boolean) in class org.eclipse.che.api.user.server.UserService | From | To | |
Rename Parameter id : String to key : String in method public getByKey(key String) : UsersWorkspaceDto in class org.eclipse.che.api.workspace.server.WorkspaceService | From | To | |
Rename Parameter wsId : String to key : String in method public getUsersWorkspace(key String) : Promise<UsersWorkspaceDto> in class org.eclipse.che.api.workspace.gwt.client.WorkspaceServiceClient | From | To |