@@ -100,7 +100,8 @@ public BreinUser() {
100100 }
101101
102102 /**
103- * setter & getter of the properties
103+ * get the email of the user
104+ * @return email
104105 */
105106 public String getEmail () {
106107 return email ;
@@ -110,7 +111,7 @@ public String getEmail() {
110111 * sets the email of the user
111112 *
112113 * @param email to set (will not be checked)
113- * @return this -> allows chaining
114+ * @return this
114115 */
115116 public BreinUser setEmail (final String email ) {
116117 this .email = email ;
@@ -130,7 +131,7 @@ public String getFirstName() {
130131 * set the first name of the user
131132 *
132133 * @param firstName name to set
133- * @return this -> allows chaining
134+ * @return this
134135 */
135136 public BreinUser setFirstName (final String firstName ) {
136137 this .firstName = firstName ;
@@ -150,7 +151,7 @@ public String getLastName() {
150151 * set the last name of the user
151152 *
152153 * @param lastName last name
153- * @return thi -> allows chaining
154+ * @return thi
154155 */
155156 public BreinUser setLastName (final String lastName ) {
156157 this .lastName = lastName ;
@@ -170,6 +171,7 @@ public String getSessionId() {
170171 * sets the sessionId
171172 *
172173 * @param sessionId value of the sessionId
174+ * @return self
173175 */
174176 public BreinUser setSessionId (final String sessionId ) {
175177 this .sessionId = sessionId ;
@@ -189,6 +191,7 @@ public String getUserAgent() {
189191 * sets the additional user agent value
190192 *
191193 * @param userAgent value
194+ * @return self
192195 */
193196 public BreinUser setUserAgent (final String userAgent ) {
194197 this .userAgent = userAgent ;
@@ -208,6 +211,7 @@ public String getIpAddress() {
208211 * sets the ipAddress
209212 *
210213 * @param ipAddress value
214+ * @return self
211215 */
212216 public BreinUser setIpAddress (final String ipAddress ) {
213217 this .ipAddress = ipAddress ;
@@ -227,6 +231,7 @@ public String getReferrer() {
227231 * sets the additional referrer value
228232 *
229233 * @param referrer value
234+ * @return self
230235 */
231236 public BreinUser setReferrer (final String referrer ) {
232237 this .referrer = referrer ;
@@ -292,6 +297,7 @@ public BreinUser setDateOfBirth(final int month, final int day, final int year)
292297 * Sets the value of dateOfBirth as String. This is only used internally.
293298 *
294299 * @param dateOfBirthString contains the date of birth string
300+ * @return self
295301 */
296302 private BreinUser setDateOfBirthString (final String dateOfBirthString ) {
297303 this .dateOfBirth = dateOfBirthString ;
@@ -398,6 +404,7 @@ public Map<String, Object> get() {
398404 * sets the user map
399405 *
400406 * @param userMap map
407+ * @return self
401408 */
402409 public BreinUser set (final Map <String , Object > userMap ) {
403410 if (userMap == null ) {
@@ -415,6 +422,7 @@ public BreinUser set(final Map<String, Object> userMap) {
415422 *
416423 * @param key contains the key for the nested map
417424 * @param userMap map of fields
425+ * @return self
418426 */
419427 public BreinUser set (final String key , final Map <String , Object > userMap ) {
420428 if (userMap == null ) {
@@ -436,6 +444,7 @@ public Map<String, Object> getAdditional() {
436444 * sets the user additional map
437445 *
438446 * @param additional map
447+ * @return self
439448 */
440449 public BreinUser setAdditional (final Map <String , Object > additional ) {
441450 if (additional == null ) {
@@ -454,6 +463,7 @@ public BreinUser setAdditional(final Map<String, Object> additional) {
454463 *
455464 * @param key contains the key for the nested map
456465 * @param additional map of fields
466+ * @return self
457467 */
458468 public BreinUser setAdditional (final String key , final Map <String , Object > additional ) {
459469 if (additional == null ) {
@@ -564,7 +574,6 @@ public void prepareAdditionalFields(final BreinUser breinUser, final Map<String,
564574 if (BreinUtil .containsValue (breinUser .getTimezone ())) {
565575 jsonObject .put ("timezone" , breinUser .getTimezone ());
566576 }
567-
568577 }
569578
570579 /**
0 commit comments