Changeset 967b414 in Git for src/main/java/com/wediscussmovies/project/service
- Timestamp:
- 02/09/22 03:21:13 (3 years ago)
- Branches:
- main
- Children:
- 6f91f99
- Parents:
- 0226942 (diff), 3fe36de (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Mato-77 <56981531+Mato-77@…> (02/09/22 03:21:13)
- git-committer:
- GitHub <noreply@…> (02/09/22 03:21:13)
- Location:
- src/main/java/com/wediscussmovies/project/service
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/wediscussmovies/project/service/UserService.java
r0226942 r967b414 10 10 User findByUsername(String username); 11 11 User register(String email, String username, String password, String confirmPassword, String name, String surname); 12 13 User findById(Integer id); 12 14 } -
src/main/java/com/wediscussmovies/project/service/impl/UserServiceImpl.java
r0226942 r967b414 48 48 49 49 @Override 50 public User findById(Integer id) { 51 return userRepository.findById(id).orElseThrow(() -> new UserNotExistException(id.toString())); 52 } 53 54 @Override 50 55 public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException { 51 56 return this.findByUsername(username);
Note:
See TracChangeset
for help on using the changeset viewer.