Skip to content

Commit

Permalink
Merge pull request #65 from is0xjh25/CI-test
Browse files Browse the repository at this point in the history
supply some comment
  • Loading branch information
Lingxiao108105 authored Sep 25, 2021
2 parents 7591080 + e0ef01c commit 01362f9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*
* @author Lingxiao
* @since 2021-08-30
* @param <T>
* @param <T> the body of response
*/
public class ResponseResult<T> extends ResponseEntity<Result<T>> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*
* @author Lingxiao
* @since 2021-08-30
* @param <T>
* @param <T> the data of response
*/

@AllArgsConstructor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public interface ContactService extends IService<Contact> {
public ContactDTO ContactToContactDTO(Contact contact);

/**
* Transfer List<Contact> to List<ContactDTO>
* Transfer List of Contact to List of ContactDTO
*
* @param contacts a list of contacts
* @return a list of ContactDTO instances transferred
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public ContactDTO ContactToContactDTO(Contact contact) {
}

/**
* Transfer List<Contact> to List<ContactDTO>
* Transfer List of Contact to List of ContactDTO
*
* @param contacts a list of contacts
* @return a list of ContactDTO instances transferred
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public UserDetails loadUserByUsername(String email) throws UsernameNotFoundExcep

//user not exist
if(user == null){
throw new UsernameNotFoundException("User not exist");
throw new UsernameNotFoundException("User not exist!");
}

List<GrantedAuthority> auths = AuthorityUtils.commaSeparatedStringToAuthorityList("user");
Expand Down

0 comments on commit 01362f9

Please sign in to comment.