diff --git a/projjpn/src/main/java/de/hs_fulda/ciip/projjpn/Customers.java b/projjpn/src/main/java/de/hs_fulda/ciip/projjpn/Customers.java index 4db7278..98fb54a 100644 --- a/projjpn/src/main/java/de/hs_fulda/ciip/projjpn/Customers.java +++ b/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); }