Browse Source

Added: Javadoc for Customers deleteUser()

feature-pr/shop
Maxim Volkov 3 years ago
parent
commit
a62245ae49
  1. 5
      projjpn/src/main/java/de/hs_fulda/ciip/projjpn/Customers.java

5
projjpn/src/main/java/de/hs_fulda/ciip/projjpn/Customers.java

@ -22,6 +22,11 @@ public class Customers {
return pool.putIfAbsent(user.nickName, user);
}
/**
*
* @param userNickname Delete a particular User with the given nickname
* @return null or the deleted user.
*/
public User deleteUser(String userNickname) {
return pool.remove(userNickname);
}

Loading…
Cancel
Save