Browse Source

fixed meerge conflicts

Roy 6 years ago
parent
commit
104034b885

+ 4
- 15
server/src/main/java/com/example/demo/user/User.java View File

14
     private String username;
14
     private String username;
15
     private String email;
15
     private String email;
16
     private String password;
16
     private String password;
17
-    private String email;
17
+
18
 
18
 
19
 
19
 
20
     public User(){
20
     public User(){
25
         this.username = username;
25
         this.username = username;
26
         this.password = password;
26
         this.password = password;
27
         this.email = email;
27
         this.email = email;
28
-<<<<<<< HEAD
29
-=======
28
+
30
     }
29
     }
31
 
30
 
32
     public long getId() {
31
     public long getId() {
33
         return id;
32
         return id;
34
->>>>>>> roy
33
+
35
     }
34
     }
36
 
35
 
37
     public void setId(long id) {
36
     public void setId(long id) {
44
 
43
 
45
     public void setUsername(String username) {
44
     public void setUsername(String username) {
46
         this.username = username;
45
         this.username = username;
47
-<<<<<<< HEAD
48
-=======
46
+
49
     }
47
     }
50
 
48
 
51
     public String getEmail() {
49
     public String getEmail() {
52
         return email;
50
         return email;
53
     }
51
     }
54
 
52
 
55
-    public void setEmail(String email) {
56
-        this.email = email;
57
->>>>>>> roy
58
-    }
59
-
60
     public String getPassword() {
53
     public String getPassword() {
61
         return password;
54
         return password;
62
     }
55
     }
65
         this.password = password;
58
         this.password = password;
66
     }
59
     }
67
 
60
 
68
-    public String getEmail() {
69
-        return email;
70
-    }
71
-
72
     public void setEmail(String email) {
61
     public void setEmail(String email) {
73
         this.email = email;
62
         this.email = email;
74
     }
63
     }

+ 1
- 4
server/src/main/java/com/example/demo/user/UserRepository.java View File

2
 
2
 
3
 import org.springframework.data.repository.CrudRepository;
3
 import org.springframework.data.repository.CrudRepository;
4
 
4
 
5
-<<<<<<< HEAD
6
-//Auto implemenred by spring into a bean called userRepository
7
-=======
5
+
8
 //Auto implemented by spring into a bean called userRepository
6
 //Auto implemented by spring into a bean called userRepository
9
->>>>>>> roy
10
 public interface UserRepository extends CrudRepository<User, Long> {
7
 public interface UserRepository extends CrudRepository<User, Long> {
11
 
8
 
12
 }
9
 }