diff options
author | 2017-08-21 12:32:18 +0300 | |
---|---|---|
committer | 2017-08-21 12:32:18 +0300 | |
commit | 265e116a3410273a33d7dc1bde892eb65fba8472 (patch) | |
tree | 0c873b89199d0ee537c24f752ee41fc46a17d9da /juick-api/src/main/java/com/juick/api/controllers/Messages.java | |
parent | da810028a322d80cddb75ab024bedcd077c76a0b (diff) |
api: cleanup unused injections
Diffstat (limited to 'juick-api/src/main/java/com/juick/api/controllers/Messages.java')
-rw-r--r-- | juick-api/src/main/java/com/juick/api/controllers/Messages.java | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/juick-api/src/main/java/com/juick/api/controllers/Messages.java b/juick-api/src/main/java/com/juick/api/controllers/Messages.java index d81db3b2..b11c39c5 100644 --- a/juick-api/src/main/java/com/juick/api/controllers/Messages.java +++ b/juick-api/src/main/java/com/juick/api/controllers/Messages.java @@ -20,15 +20,12 @@ package com.juick.api.controllers; import com.juick.Status; import com.juick.Tag; import com.juick.User; -import com.juick.api.ApiServer; import com.juick.server.util.HttpBadRequestException; import com.juick.server.util.HttpForbiddenException; +import com.juick.server.util.UserUtils; import com.juick.service.MessagesService; import com.juick.service.TagService; import com.juick.service.UserService; -import com.juick.server.util.UserUtils; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; @@ -45,7 +42,6 @@ import java.util.List; @RestController @RequestMapping(method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_UTF8_VALUE) public class Messages { - private static final Logger logger = LoggerFactory.getLogger(Messages.class); private static final ResponseEntity<List<com.juick.Message>> NOT_FOUND = ResponseEntity .status(HttpStatus.NOT_FOUND) @@ -61,8 +57,6 @@ public class Messages { private UserService userService; @Inject private TagService tagService; - @Inject - private ApiServer apiServer; // TODO: serialize image urls |