41c36c1d3b8a736280703af893969cc2c9d003a8
Files Diff
- Added: 48
- Removed: 44
- Renamed: 0
- Modified: 227
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 3 | ||
Change Parameter Type container : ConfigurableEmbeddedServletContainer to server : WebServerFactory in method private setLocationForStaticAssets(server WebServerFactory) : void in class io.github.jhipster.sample.config.WebConfigurer | From | To | |
Change Parameter Type after : Date to after : Instant in method public find(principal String, after Instant, type String) : List<AuditEvent> in class io.github.jhipster.sample.repository.CustomAuditEventRepository | From | To | |
Change Parameter Type password : String to passwordChangeDto : PasswordChangeDTO in method public changePassword(passwordChangeDto PasswordChangeDTO) : void in class io.github.jhipster.sample.web.rest.AccountResource | From | To | |
Change Return Type | 2 | ||
Change Return Type String to Optional<String> in method public getCurrentAuditor() : Optional<String> in class io.github.jhipster.sample.security.SpringSecurityAuditorAware | From | To | |
Change Return Type Operation to Optional<Operation> in method public findOneWithEagerRelationships(id Long) : Optional<Operation> in class io.github.jhipster.sample.repository.OperationRepository | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable newUser : User to user : User in method private clearUserCaches(user User) : void in class io.github.jhipster.sample.service.UserService | From | To | |
Change Variable Type | 5 | ||
Change Variable Type label : Label to label : Optional<Label> in method public getLabel(id Long) : ResponseEntity<Label> in class io.github.jhipster.sample.web.rest.LabelResource | From | To | |
Change Variable Type container : UndertowEmbeddedServletContainerFactory to container : UndertowServletWebServerFactory in method public testCustomizeServletContainer() : void in class io.github.jhipster.sample.config.WebConfigurerTest | From | To | |
Change Variable Type bankAccount : BankAccount to bankAccount : Optional<BankAccount> in method public getBankAccount(id Long) : ResponseEntity<BankAccount> in class io.github.jhipster.sample.web.rest.BankAccountResource | From | To | |
Change Variable Type container : UndertowEmbeddedServletContainerFactory to container : UndertowServletWebServerFactory in method public testUndertowHttp2Enabled() : void in class io.github.jhipster.sample.config.WebConfigurerTest | From | To | |
Change Variable Type operation : Operation to operation : Optional<Operation> in method public getOperation(id Long) : ResponseEntity<Operation> in class io.github.jhipster.sample.web.rest.OperationResource | From | To | |
Extract Variable | 4 | ||
Extract Variable currentPassword : String in method public testChangePassword() : void from class io.github.jhipster.sample.web.rest.AccountResourceIntTest | From | To | |
Extract Variable currentPassword : String in method public testChangePasswordTooLong() : void from class io.github.jhipster.sample.web.rest.AccountResourceIntTest | From | To | |
Extract Variable hostAddress : String in method public main(args String[]) : void from class io.github.jhipster.sample.JhipsterSampleApplicationApp | From | To | |
Extract Variable currentPassword : String in method public testChangePasswordTooSmall() : void from class io.github.jhipster.sample.web.rest.AccountResourceIntTest | From | To | |
Extract Method | 11 | ||
Extract Method private clearUserCaches(user User) : void extracted from public updateUser(firstName String, lastName String, email String, langKey String, imageUrl String) : void in class io.github.jhipster.sample.service.UserService | From | To | |
Extract Method private clearUserCaches(user User) : void extracted from public activateRegistration(key String) : Optional<User> in class io.github.jhipster.sample.service.UserService | From | To | |
Extract Method private clearUserCaches(user User) : void extracted from public updateUser(userDTO UserDTO) : Optional<UserDTO> in class io.github.jhipster.sample.service.UserService | From | To | |
Extract Method private clearUserCaches(user User) : void extracted from public completePasswordReset(newPassword String, key String) : Optional<User> in class io.github.jhipster.sample.service.UserService | From | To | |
Extract Method private clearUserCaches(user User) : void extracted from public deleteUser(login String) : void in class io.github.jhipster.sample.service.UserService | From | To | |
Extract Method private clearUserCaches(user User) : void extracted from public removeNotActivatedUsers() : void in class io.github.jhipster.sample.service.UserService | From | To | |
Extract Method private clearUserCaches(user User) : void extracted from public requestPasswordReset(mail String) : Optional<User> in class io.github.jhipster.sample.service.UserService | From | To | |
Extract Method private clearUserCaches(user User) : void extracted from public createUser(userDTO UserDTO) : User in class io.github.jhipster.sample.service.UserService | From | To | |
Extract Method private clearUserCaches(user User) : void extracted from public registerUser(userDTO UserDTO, password String) : User in class io.github.jhipster.sample.service.UserService | From | To | |
Extract Method private clearUserCaches(user User) : void extracted from public changePassword(password String) : void in class io.github.jhipster.sample.service.UserService | From | To | |
Rename Parameter | 2 | ||
Rename Parameter password : String to passwordChangeDto : PasswordChangeDTO in method public changePassword(passwordChangeDto PasswordChangeDTO) : void in class io.github.jhipster.sample.web.rest.AccountResource | From | To | |
Rename Parameter container : ConfigurableEmbeddedServletContainer to server : WebServerFactory in method private setLocationForStaticAssets(server WebServerFactory) : void in class io.github.jhipster.sample.config.WebConfigurer | From | To |