File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 1
1
import java .io .Serializable ;
2
+ import java .util .ArrayList ;
3
+
2
4
public abstract class User implements Serializable , Changeable {
3
5
protected String username ;
4
6
protected String password ;
5
7
protected String email ;
6
8
boolean verified = false ;
7
9
boolean online = false ;
10
+ // protected ArrayList<Chat> chats;
8
11
public User (String username , String password , String email ){
9
12
this .username = username ;
10
13
this .password = password ;
11
14
this .email = email ;
15
+ // this.chats = new ArrayList<Chat>();
12
16
}
13
17
public String getEmail (){
14
18
return this .email ;
@@ -20,6 +24,10 @@ private String getPassword(){
20
24
return this .password ;
21
25
}
22
26
27
+ // public ArrayList<Chat> getChats() {
28
+ // return this.chats;
29
+ // }
30
+
23
31
public Boolean PasswordMatch (String attempt ){
24
32
return (this .getPassword ().equals (attempt ));
25
33
}
You can’t perform that action at this time.
0 commit comments