Remove username attribute
This commit is contained in:
@@ -137,8 +137,7 @@ public class MindmapServiceImpl
|
||||
}
|
||||
|
||||
final Calendar creationTime = Calendar.getInstance();
|
||||
final String username = user.getUsername();
|
||||
map.setLastModifierUser(username);
|
||||
map.setLastEditor(user);
|
||||
map.setCreationTime(creationTime);
|
||||
map.setLastModificationTime(creationTime);
|
||||
map.setCreator(user);
|
||||
|
@@ -34,8 +34,6 @@ public interface UserService {
|
||||
|
||||
public User getUserBy(long id);
|
||||
|
||||
public User getUserByUsername(String username);
|
||||
|
||||
public void updateUser(User user);
|
||||
|
||||
public void resetPassword(@NotNull String email) throws InvalidUserEmailException;
|
||||
|
@@ -176,11 +176,6 @@ public class UserServiceImpl
|
||||
return userManager.getUserBy(email);
|
||||
}
|
||||
|
||||
@Override
|
||||
public User getUserByUsername(String username) {
|
||||
return userManager.getUserByUsername(username);
|
||||
}
|
||||
|
||||
@Override
|
||||
public User getUserBy(long id) {
|
||||
return userManager.getUserBy(id);
|
||||
|
Reference in New Issue
Block a user