Formatting and little optimization
This commit is contained in:
parent
8e7f9c06d3
commit
6abdab2cf6
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user