Changeset 3fe36de in Git for src/main/java/com/wediscussmovies/project/service/impl/UserServiceImpl.java
- Timestamp:
- 02/09/22 03:14:08 (3 years ago)
- Branches:
- main
- Children:
- 967b414
- Parents:
- c02189f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/wediscussmovies/project/service/impl/UserServiceImpl.java
rc02189f r3fe36de 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.