#290 - Removed obsolete @Autowired annotations.
This commit is contained in:
@@ -35,7 +35,7 @@ import org.springframework.util.Assert;
|
||||
*/
|
||||
@Transactional
|
||||
@Service
|
||||
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
|
||||
@RequiredArgsConstructor
|
||||
public class UserManagement {
|
||||
|
||||
private final UserRepository repository;
|
||||
|
||||
@@ -52,7 +52,7 @@ import example.users.Username;
|
||||
* @author Oliver Gierke
|
||||
*/
|
||||
@Controller
|
||||
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
|
||||
@RequiredArgsConstructor
|
||||
@RequestMapping("/users")
|
||||
class UserController {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user