[R9] Fix java doc

This commit is contained in:
Mirna Gama 2024-01-12 16:46:20 -03:00 committed by Mirna Gama
parent 2aa99e012d
commit ccf4676e4e
4 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@ public class UserServiceImpl implements UserService {
/** /**
* Finds a stored user information by login. * Finds a stored user information by login.
* *
* @param id A long representing the user's system login * @param login A string representing the user's system login
* @return The corresponding user information if successful, or null if it is non-existent. * @return The corresponding user information if successful, or null if it is non-existent.
*/ */
@Override @Override

View File

@ -29,7 +29,7 @@ public class TokenServiceImpl implements TokenService {
* Generates the authorization token * Generates the authorization token
* *
* @param user The authenticated user * @param user The authenticated user
* @returns A string containing the authorization token * @return A string containing the authorization token
*/ */
@Override @Override
public String generateToken(User user) { public String generateToken(User user) {

View File

@ -26,7 +26,7 @@ public interface UserService {
/** /**
* Finds a stored user information by login. * Finds a stored user information by login.
* *
* @param id A long representing the user's system login * @param login A string representing the user's system login
* @return The corresponding user information if successful, or null if it is non-existent. * @return The corresponding user information if successful, or null if it is non-existent.
*/ */
public UserDetails findUserByLogin(String login); public UserDetails findUserByLogin(String login);

View File

@ -14,7 +14,7 @@ public interface TokenService {
* Generates the authorization token * Generates the authorization token
* *
* @param user The authenticated user * @param user The authenticated user
* @returns A string containing the authorization token * @return A string containing the authorization token
*/ */
public String generateToken(User user); public String generateToken(User user);