From 8e700116dd7c62dea4f081575d4d7b6bf2d195ad Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Sun, 31 Oct 2010 02:25:42 +0200 Subject: [PATCH] Add return for setter. --- src/fr/devinsy/kiss4web/security/User.java | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/src/fr/devinsy/kiss4web/security/User.java b/src/fr/devinsy/kiss4web/security/User.java index 352671f..0054a75 100644 --- a/src/fr/devinsy/kiss4web/security/User.java +++ b/src/fr/devinsy/kiss4web/security/User.java @@ -82,33 +82,45 @@ public class User /** * */ - public void setEmail (String email) + public User setEmail (String email) { this.email = email; + + // + return (this); } /** * */ - public void setLogin (String login) + public User setLogin (String login) { this.login = login; + + // + return (this); } /** * */ - public void setPassword (String password) + public User setPassword (String password) { this.password = password; + + // + return (this); } /** * */ - public void setRealName (String realName) + public User setRealName (String realName) { this.realName = realName; + + // + return (this); } /**