code: private void setUserInfo(CmsUser user, String key, String value) {
  
          if (!CmsStringUtil.isEmptyOrWhitespaceOnly(value)) {
              user.getAdditionalInfo().put(key, value);
          }
      }
docs: Sets an additional info value if it's not empty.<p>
  
  @param user the user on which to set the additional info
  @param key the additional info key
  @param value the additional info value