aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-04-05 14:19:35 +0300
committerGravatar Vitaly Takmazov2017-04-05 14:19:35 +0300
commit8cad49e82db4847035a84f9de44878d9abe6299c (patch)
tree50a9351d024e8123ccd0755ae8d967767b5b547d /juick-www/src
parenta9a2c587a4de11ce04aaae7a0c1a5dab1430794a (diff)
juick-www: Autowired -> Inject
Diffstat (limited to 'juick-www/src')
-rw-r--r--juick-www/src/main/java/com/juick/www/controllers/Login.java5
1 files changed, 3 insertions, 2 deletions
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")