Add return for setter.

This commit is contained in:
Christian P. MOMON 2010-10-31 02:25:42 +02:00
parent b6acb10fb2
commit 8e700116dd

View file

@ -82,33 +82,45 @@ public class User
/** /**
* *
*/ */
public void setEmail (String email) public User setEmail (String email)
{ {
this.email = email; this.email = email;
//
return (this);
} }
/** /**
* *
*/ */
public void setLogin (String login) public User setLogin (String login)
{ {
this.login = login; this.login = login;
//
return (this);
} }
/** /**
* *
*/ */
public void setPassword (String password) public User setPassword (String password)
{ {
this.password = password; this.password = password;
//
return (this);
} }
/** /**
* *
*/ */
public void setRealName (String realName) public User setRealName (String realName)
{ {
this.realName = realName; this.realName = realName;
//
return (this);
} }
/** /**