5b581be2b6c8c275454a64c461394b49ba405d30
Files Diff
- Added: 4
- Removed: 28
- Renamed: 0
- Modified: 97
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public configureGlobal(auth AuthenticationManagerBuilder) : void renamed to public init() : void in class io.github.jhipster.sample.config.SecurityConfiguration | From | To | |
Rename Method public setId(id Long) : void renamed to public ManagedUserVM(id Long, login String, password String, firstName String, lastName String, email String, activated boolean, imageUrl String, langKey String, createdBy String, createdDate ZonedDateTime, lastModifiedBy String, lastModifiedDate ZonedDateTime, authorities Set<String>) in class io.github.jhipster.sample.web.rest.vm.ManagedUserVM | From | To | |
Pull Up Method | 9 | ||
Pull Up Method public getLastModifiedBy() : String from class io.github.jhipster.sample.web.rest.vm.ManagedUserVM to public getLastModifiedBy() : String from class io.github.jhipster.sample.service.dto.UserDTO | From | To | |
Pull Up Method public getCreatedBy() : String from class io.github.jhipster.sample.web.rest.vm.ManagedUserVM to public getCreatedBy() : String from class io.github.jhipster.sample.service.dto.UserDTO | From | To | |
Pull Up Method public setLastModifiedBy(lastModifiedBy String) : void from class io.github.jhipster.sample.web.rest.vm.ManagedUserVM to public setLogin(login String) : void from class io.github.jhipster.sample.service.dto.UserDTO | From | To | |
Pull Up Method public getLastModifiedDate() : ZonedDateTime from class io.github.jhipster.sample.web.rest.vm.ManagedUserVM to public getLastModifiedDate() : ZonedDateTime from class io.github.jhipster.sample.service.dto.UserDTO | From | To | |
Pull Up Method public getCreatedDate() : ZonedDateTime from class io.github.jhipster.sample.web.rest.vm.ManagedUserVM to public getCreatedDate() : ZonedDateTime from class io.github.jhipster.sample.service.dto.UserDTO | From | To | |
Pull Up Method public setLastModifiedDate(lastModifiedDate ZonedDateTime) : void from class io.github.jhipster.sample.web.rest.vm.ManagedUserVM to public setLastModifiedDate(lastModifiedDate ZonedDateTime) : void from class io.github.jhipster.sample.service.dto.UserDTO | From | To | |
Pull Up Method public getId() : Long from class io.github.jhipster.sample.web.rest.vm.ManagedUserVM to public getId() : Long from class io.github.jhipster.sample.service.dto.UserDTO | From | To | |
Pull Up Method public setCreatedBy(createdBy String) : void from class io.github.jhipster.sample.web.rest.vm.ManagedUserVM to public setLogin(login String) : void from class io.github.jhipster.sample.service.dto.UserDTO | From | To | |
Pull Up Method public setCreatedDate(createdDate ZonedDateTime) : void from class io.github.jhipster.sample.web.rest.vm.ManagedUserVM to public setLastModifiedDate(lastModifiedDate ZonedDateTime) : void from class io.github.jhipster.sample.service.dto.UserDTO | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method public CachingHttpHeadersFilter(jHipsterProperties JHipsterProperties) from class io.github.jhipster.sample.web.filter.CachingHttpHeadersFilter to public AsyncConfiguration(jHipsterProperties JHipsterProperties) from class io.github.jhipster.sample.config.AsyncConfiguration | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type page : Page<?> to page : Page in method public generatePaginationHttpHeaders(page Page, baseUrl String) : HttpHeaders in class io.github.jhipster.sample.web.rest.util.PaginationUtil | From | To | |
Change Parameter Type managedUserVM : ManagedUserVM to userDTO : UserDTO in method public createUser(userDTO UserDTO) : User in class io.github.jhipster.sample.service.UserService | From | To | |
Pull Up Attribute | 5 | ||
Pull Up Attribute private lastModifiedDate : ZonedDateTime from class io.github.jhipster.sample.web.rest.vm.ManagedUserVM to private lastModifiedDate : ZonedDateTime from class io.github.jhipster.sample.service.dto.UserDTO | From | To | |
Pull Up Attribute private id : Long from class io.github.jhipster.sample.web.rest.vm.ManagedUserVM to private id : Long from class io.github.jhipster.sample.service.dto.UserDTO | From | To | |
Pull Up Attribute private createdBy : String from class io.github.jhipster.sample.web.rest.vm.ManagedUserVM to private createdBy : String from class io.github.jhipster.sample.service.dto.UserDTO | From | To | |
Pull Up Attribute private createdDate : ZonedDateTime from class io.github.jhipster.sample.web.rest.vm.ManagedUserVM to private createdDate : ZonedDateTime from class io.github.jhipster.sample.service.dto.UserDTO | From | To | |
Pull Up Attribute private lastModifiedBy : String from class io.github.jhipster.sample.web.rest.vm.ManagedUserVM to private lastModifiedBy : String from class io.github.jhipster.sample.service.dto.UserDTO | From | To | |
Change Return Type | 9 | ||
Change Return Type ResponseEntity<ManagedUserVM> to ResponseEntity<UserDTO> in method public updateUser(managedUserVM ManagedUserVM) : ResponseEntity<UserDTO> in class io.github.jhipster.sample.web.rest.UserResource | From | To | |
Change Return Type ResponseEntity<List<ManagedUserVM>> to ResponseEntity<List<UserDTO>> in method public getAllUsers(pageable Pageable) : ResponseEntity<List<UserDTO>> in class io.github.jhipster.sample.web.rest.UserResource | From | To | |
Change Return Type ResponseEntity<?> to ResponseEntity in method public createUser(managedUserVM ManagedUserVM) : ResponseEntity in class io.github.jhipster.sample.web.rest.UserResource | From | To | |
Change Return Type ProfileInfoResponse to ProfileInfoVM in method public getActiveProfiles() : ProfileInfoVM in class io.github.jhipster.sample.web.rest.ProfileInfoResource | From | To | |
Change Return Type ResponseEntity<ManagedUserVM> to ResponseEntity<UserDTO> in method public getUser(login String) : ResponseEntity<UserDTO> in class io.github.jhipster.sample.web.rest.UserResource | From | To | |
Change Return Type void to Optional<UserDTO> in method public updateUser(userDTO UserDTO) : Optional<UserDTO> in class io.github.jhipster.sample.service.UserService | From | To | |
Change Return Type ResponseEntity<?> to ResponseEntity in method public requestPasswordReset(mail String) : ResponseEntity in class io.github.jhipster.sample.web.rest.AccountResource | From | To | |
Change Return Type ResponseEntity<?> to ResponseEntity in method public changePassword(password String) : ResponseEntity in class io.github.jhipster.sample.web.rest.AccountResource | From | To | |
Change Return Type ResponseEntity<?> to ResponseEntity in method public registerAccount(managedUserVM ManagedUserVM) : ResponseEntity in class io.github.jhipster.sample.web.rest.AccountResource | From | To | |
Extract Attribute | 4 | ||
Extract Attribute private ENTITY_NAME : String in class io.github.jhipster.sample.web.rest.UserResource | From | To | |
Extract Attribute private ENTITY_NAME : String in class io.github.jhipster.sample.web.rest.LabelResource | From | To | |
Extract Attribute private ENTITY_NAME : String in class io.github.jhipster.sample.web.rest.BankAccountResource | From | To | |
Extract Attribute private ENTITY_NAME : String in class io.github.jhipster.sample.web.rest.OperationResource | From | To | |
Rename Class | 2 | ||
Rename Class io.github.jhipster.sample.security.UserDetailsService renamed to io.github.jhipster.sample.security.DomainUserDetailsService | From | To | |
Rename Class io.github.jhipster.sample.security.CustomPersistentRememberMeServices renamed to io.github.jhipster.sample.security.PersistentTokenRememberMeServices | From | To | |
Merge Parameter | 1 | ||
Merge Parameter [login : String, firstName : String, lastName : String, email : String, activated : boolean, langKey : String] to userDTO : UserDTO in method public updateUser(userDTO UserDTO) : Optional<UserDTO> in class io.github.jhipster.sample.service.UserService | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute auth : AuthenticationManagerBuilder to authenticationManagerBuilder : AuthenticationManagerBuilder in method public init() : void in class io.github.jhipster.sample.config.SecurityConfiguration | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type javaMailSender : JavaMailSenderImpl to javaMailSender : JavaMailSender in class io.github.jhipster.sample.service.MailService | From | To | |
Rename Parameter | 4 | ||
Rename Parameter lastModifiedBy : String to login : String in method public setLogin(login String) : void in class io.github.jhipster.sample.service.dto.UserDTO | From | To | |
Rename Parameter createdDate : ZonedDateTime to lastModifiedDate : ZonedDateTime in method public setLastModifiedDate(lastModifiedDate ZonedDateTime) : void in class io.github.jhipster.sample.service.dto.UserDTO | From | To | |
Rename Parameter createdBy : String to login : String in method public setLogin(login String) : void in class io.github.jhipster.sample.service.dto.UserDTO | From | To | |
Rename Parameter managedUserVM : ManagedUserVM to userDTO : UserDTO in method public createUser(userDTO UserDTO) : User in class io.github.jhipster.sample.service.UserService | From | To |