From 8cad49e82db4847035a84f9de44878d9abe6299c Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 5 Apr 2017 14:19:35 +0300 Subject: juick-www: Autowired -> Inject --- juick-www/src/main/java/com/juick/www/controllers/Login.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'juick-www') diff --git a/juick-www/src/main/java/com/juick/www/controllers/Login.java b/juick-www/src/main/java/com/juick/www/controllers/Login.java index 8f9a993a..e664c1d9 100644 --- a/juick-www/src/main/java/com/juick/www/controllers/Login.java +++ b/juick-www/src/main/java/com/juick/www/controllers/Login.java @@ -19,16 +19,17 @@ package com.juick.www.controllers; import com.juick.service.UserService; import com.juick.util.UserUtils; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; +import javax.inject.Inject; + /** * @author Ugnich Anton */ @Controller public class Login { - @Autowired + @Inject private UserService userService; @GetMapping("/login") -- cgit v1.2.3