modif du constructeur
Policy failures: Code warning - failed on resource User.java. Reason: The import java.util.ArrayList is never used, line Override reason: f
This commit is contained in:
@@ -50,14 +50,25 @@ public class User {
|
||||
@OneToMany(targetEntity=Role.class,mappedBy="user")
|
||||
private Collection<Role> roles;
|
||||
|
||||
public User(String login, String password, String firstName,
|
||||
String lastName, String organization, String email,
|
||||
Collection<Role> roles) {
|
||||
super();
|
||||
this.login = login;
|
||||
this.password = password;
|
||||
this.firstName = firstName;
|
||||
this.lastName = lastName;
|
||||
this.organization = organization;
|
||||
this.email = email;
|
||||
this.roles = roles;
|
||||
}
|
||||
|
||||
public User() {
|
||||
|
||||
}
|
||||
|
||||
public User(String string, String string2, String string3, String string4,
|
||||
String string5, String string6, ArrayList<Role> arrayList) {
|
||||
// TODO Auto-generated constructor stub
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Id
|
||||
public String getLogin() {
|
||||
|
||||
Reference in New Issue
Block a user