Add return for setter.
This commit is contained in:
parent
b6acb10fb2
commit
8e700116dd
1 changed files with 16 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue