From 906bd9e4c99440b78eae37747576772e92f3fac7 Mon Sep 17 00:00:00 2001 From: Maxim Volkov Date: Thu, 17 Feb 2022 22:28:59 +0100 Subject: [PATCH] Added: Javadoc for Customers registerUser() --- .../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 174016e..4db7278 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 @@ -13,6 +13,11 @@ public class Customers { return false; } + /** + * + * @param user New User to register. + * @return + */ public User registerUser(User user) { return pool.putIfAbsent(user.nickName, user); }