30481f6a5ead4e20f40f965c8b78eac92e20340b
Files Diff
- Added: 8
- Removed: 0
- Renamed: 0
- Modified: 156
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 1 | ||
Rename Variable currentUser : User to user : User in method public getUserWithAuthorities() : User in class com.mycompany.myapp.service.UserService | From | To | |
Change Return Type | 1 | ||
Change Return Type ResponseEntity<User> to ResponseEntity<ManagedUserDTO> in method public getUser(login String) : ResponseEntity<ManagedUserDTO> in class com.mycompany.myapp.web.rest.UserResource | From | To | |
Merge Parameter | 1 | ||
Merge Parameter [offset : Integer, limit : Integer] to page : Page<?> in method public generatePaginationHttpHeaders(page Page<?>, baseUrl String) : HttpHeaders in class com.mycompany.myapp.web.rest.util.PaginationUtil | From | To | |
Rename Attribute | 1 | ||
Rename Attribute roles : List<String> to authorities : Set<String> in class com.mycompany.myapp.web.rest.dto.UserDTO | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type roles : List<String> to authorities : Set<String> in class com.mycompany.myapp.web.rest.dto.UserDTO | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public getUserWithAuthoritiesByLogin(login String) : Optional<User> extracted from package getUser(login String) : ResponseEntity<User> in class com.mycompany.myapp.web.rest.UserResource & moved to class com.mycompany.myapp.service.UserService | From | To | |
Rename Parameter | 1 | ||
Rename Parameter role : String to authority : String in method public isUserInRole(authority String) : boolean in class com.mycompany.myapp.security.SecurityUtils | From | To |