Bläddra i källkod

fixed meerge conflicts

Roy 6 år sedan
förälder
incheckning
104034b885

+ 4
- 15
server/src/main/java/com/example/demo/user/User.java Visa fil

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

+ 1
- 4
server/src/main/java/com/example/demo/user/UserRepository.java Visa fil

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