From a62245ae49c9d8e3796cd7ccfc2fa7360422d9d1 Mon Sep 17 00:00:00 2001 From: Maxim Volkov Date: Thu, 17 Feb 2022 22:29:46 +0100 Subject: [PATCH] Added: Javadoc for Customers deleteUser() --- .../src/main/java/de/hs_fulda/ciip/projjpn/Customers.java | 5 +++++ 1 file changed, 5 insertions(+) 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); }