d4ff792f240685a086e5c3432c5fc5cf0e092f7d
Files Diff
- Added: 2
- Removed: 2
- Renamed: 0
- Modified: 53
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 5 | ||
Rename Method public getName() : String renamed to public getUserName() : String in class org.eclipse.che.commons.subject.SubjectImpl | From | To | |
Rename Method public getId() : String renamed to public getUserId() : String in class org.eclipse.che.commons.subject.SubjectImpl | From | To | |
Rename Method private getCurrentUser() : User renamed to private getCurrentSubject() : Subject in class org.eclipse.che.plugin.svn.server.credentials.CurrentUserPreferencesAccessImpl | From | To | |
Rename Method public getName() : String renamed to public getUserName() : String in class org.eclipse.che.commons.subject.Subject | From | To | |
Rename Method public getId() : String renamed to public getUserId() : String in class org.eclipse.che.commons.subject.Subject | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type user : User to subject : Subject in method private addUserInRequest(httpRequest HttpServletRequest, subject Subject) : HttpServletRequest in class org.eclipse.che.filters.AbstractEnvironmentInitializationFilter | From | To | |
Change Parameter Type user : User to subject : Subject in method private addUserInRequest(httpRequest HttpServletRequest, subject Subject) : HttpServletRequest in class org.eclipse.che.api.local.filters.AbstractEnvironmentInitializationFilter | From | To | |
Rename Variable | 8 | ||
Rename Variable user : User to subject : Subject in method private setCurrentUser(userId String) : void in class org.eclipse.che.api.factory.server.impl.FactoryEditValidatorImplTest | From | To | |
Rename Variable user : User to subject : Subject in method private getAuthenticationToken() : String in class org.eclipse.che.api.core.rest.HttpJsonHelper.HttpJsonHelperImpl | From | To | |
Rename Variable actualUser : User to actualSubject : Subject in method public shouldBeAbleToSetEnvContextInSameThread() : void in class org.eclipse.che.commons.env.EnvironmentContextTest | From | To | |
Rename Variable user : User to subject : Subject in method public doFilter(request ServletRequest, response ServletResponse, filterChain FilterChain) : void in class org.eclipse.che.filters.AbstractEnvironmentInitializationFilter | From | To | |
Rename Variable user : User to subject : Subject in method public doFilter(request ServletRequest, response ServletResponse, filterChain FilterChain) : void in class org.eclipse.che.api.local.filters.AbstractEnvironmentInitializationFilter | From | To | |
Rename Variable user : User to subject : Subject in method protected createSecurityContext(req HandshakeRequest) : SecurityContext in class org.eclipse.che.everrest.ServerContainerInitializeListener | From | To | |
Rename Variable currentUser : User to currentSubject : Subject in method public injectLinks(userDescriptor UserDescriptor, serviceContext ServiceContext) : UserDescriptor in class org.eclipse.che.api.user.server.LinksInjector | From | To | |
Rename Variable user : User to subject : Subject in method private getAuthenticationToken() : String in class org.eclipse.che.api.core.rest.DefaultHttpJsonRequest | From | To | |
Change Return Type | 3 | ||
Change Return Type User to Subject in method private currentUser() : Subject in class org.eclipse.che.api.user.server.UserProfileService | From | To | |
Change Return Type User to Subject in method private getCurrentSubject() : Subject in class org.eclipse.che.plugin.svn.server.credentials.CurrentUserPreferencesAccessImpl | From | To | |
Change Return Type User to Subject in method private sessionUser() : Subject in class org.eclipse.che.api.workspace.server.WorkspaceManager | From | To | |
Move And Rename Class | 2 | ||
Move And Rename Class org.eclipse.che.commons.user.UserImpl moved and renamed to org.eclipse.che.commons.subject.SubjectImpl | From | To | |
Move And Rename Class org.eclipse.che.commons.user.User moved and renamed to org.eclipse.che.commons.subject.Subject | From | To | |
Rename Attribute | 1 | ||
Rename Attribute TEST_USER : User to TEST_SUBJECT : Subject in class org.eclipse.che.api.core.rest.DefaultHttpJsonRequestTest | From | To | |
Change Variable Type | 9 | ||
Change Variable Type user : User to subject : Subject in method private getAuthenticationToken() : String in class org.eclipse.che.api.core.rest.HttpJsonHelper.HttpJsonHelperImpl | From | To | |
Change Variable Type user : User to subject : Subject in method public doFilter(request ServletRequest, response ServletResponse, filterChain FilterChain) : void in class org.eclipse.che.filters.AbstractEnvironmentInitializationFilter | From | To | |
Change Variable Type actualUser : User to actualSubject : Subject in method public shouldBeAbleToSetEnvContextInSameThread() : void in class org.eclipse.che.commons.env.EnvironmentContextTest | From | To | |
Change Variable Type user : User to subject : Subject in method public doFilter(request ServletRequest, response ServletResponse, filterChain FilterChain) : void in class org.eclipse.che.api.local.filters.AbstractEnvironmentInitializationFilter | From | To | |
Change Variable Type user : User to subject : Subject in method protected createSecurityContext(req HandshakeRequest) : SecurityContext in class org.eclipse.che.everrest.ServerContainerInitializeListener | From | To | |
Change Variable Type currentUser : User to currentSubject : Subject in method public injectLinks(userDescriptor UserDescriptor, serviceContext ServiceContext) : UserDescriptor in class org.eclipse.che.api.user.server.LinksInjector | From | To | |
Change Variable Type user : User to subject : Subject in method private getAuthenticationToken() : String in class org.eclipse.che.api.core.rest.DefaultHttpJsonRequest | From | To | |
Change Variable Type user : UserImpl to user : SubjectImpl in method public equals(o Object) : boolean in class org.eclipse.che.commons.subject.SubjectImpl | From | To | |
Change Variable Type user : User to subject : Subject in method private setCurrentUser(userId String) : void in class org.eclipse.che.api.factory.server.impl.FactoryEditValidatorImplTest | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type ANONYMOUS : User to ANONYMOUS : Subject in class org.eclipse.che.commons.subject.Subject | From | To | |
Change Attribute Type TEST_USER : User to TEST_SUBJECT : Subject in class org.eclipse.che.api.core.rest.DefaultHttpJsonRequestTest | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public getSubject() : Subject extracted from protected createSecurityContext(req HandshakeRequest) : SecurityContext in class org.eclipse.che.everrest.ServerContainerInitializeListener & moved to class org.eclipse.che.commons.env.EnvironmentContext | From | To | |
Rename Parameter | 2 | ||
Rename Parameter user : User to subject : Subject in method private addUserInRequest(httpRequest HttpServletRequest, subject Subject) : HttpServletRequest in class org.eclipse.che.filters.AbstractEnvironmentInitializationFilter | From | To | |
Rename Parameter user : User to subject : Subject in method private addUserInRequest(httpRequest HttpServletRequest, subject Subject) : HttpServletRequest in class org.eclipse.che.api.local.filters.AbstractEnvironmentInitializationFilter | From | To |