Browse Source

Added: Javadoc for Customers registerUser()

feature-pr/shop
Maxim Volkov 3 years ago
parent
commit
906bd9e4c9
  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

@ -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);
}

Loading…
Cancel
Save