From cdfcc71399d7f241855f5959a3c4b1b23415aa88 Mon Sep 17 00:00:00 2001 From: Maxim Volkov Date: Thu, 17 Feb 2022 22:33:49 +0100 Subject: [PATCH] Added: Javadoc for Customers nickNameAvailable() --- .../src/main/java/de/hs_fulda/ciip/projjpn/Customers.java | 6 ++++++ 1 file changed, 6 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 86a4a94..e2fd71a 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 @@ -5,6 +5,12 @@ import java.util.HashMap; public class Customers { HashMap pool = new HashMap(); + /** + * + * @param nickname Is the particular Nickname free to use? + * @return true if nickname is Available. + * @return false if nickname is Available. + */ public boolean nickNameAvailable(String nickname) { User u = pool.get(nickname); if (null == u) {