Commit be7228dc authored by Gabriele Civitarese's avatar Gabriele Civitarese

users to user

parent 4a43d17f
......@@ -15,7 +15,7 @@ import javax.xml.bind.annotation.XmlRootElement;
@XmlAccessorType (XmlAccessType.FIELD)
public class Users {
@XmlElement(name="users")
@XmlElement(name="user")
private List<User> userslist;
private static Users instance;
......@@ -42,7 +42,9 @@ public class Users {
}
public synchronized void add(User u){
userslist.add(u);
}
public User getByName(String name){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment