diff --git a/backend/src/main/java/de/hft/geotime/user/TimetrackUser.java b/backend/src/main/java/de/hft/geotime/user/TimetrackUser.java index e02de32..8dcc7c7 100644 --- a/backend/src/main/java/de/hft/geotime/user/TimetrackUser.java +++ b/backend/src/main/java/de/hft/geotime/user/TimetrackUser.java @@ -5,7 +5,6 @@ import de.hft.geotime.timetrackaccount.TimetrackAccount; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; -import org.hibernate.validator.constraints.UniqueElements; import javax.persistence.*; import java.util.List; diff --git a/backend/src/main/java/de/hft/geotime/user/UserController.java b/backend/src/main/java/de/hft/geotime/user/UserController.java index 40f5df8..d467ea8 100644 --- a/backend/src/main/java/de/hft/geotime/user/UserController.java +++ b/backend/src/main/java/de/hft/geotime/user/UserController.java @@ -10,8 +10,8 @@ import org.springframework.web.bind.annotation.*; @RequestMapping("/user") public class UserController { - private TimetrackUserRepository userRepository; - private BCryptPasswordEncoder bCryptPasswordEncoder; + private final TimetrackUserRepository userRepository; + private final BCryptPasswordEncoder bCryptPasswordEncoder; public UserController(TimetrackUserRepository userRepository, BCryptPasswordEncoder bCryptPasswordEncoder) { this.userRepository = userRepository;