From 8be8dca3f8bb97d347214f32dd4d77fac07147f7 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 21 Aug 2017 12:35:03 +0300 Subject: cleanup unused injections in remaining apps --- .../main/java/com/juick/components/controllers/StatusController.java | 2 +- .../main/java/com/juick/components/controllers/StatusController.java | 2 +- .../src/main/java/com/juick/rss/controllers/FeedsController.java | 4 ++-- juick-ws/src/main/java/com/juick/ws/controllers/ApiController.java | 2 +- .../main/java/com/juick/components/controllers/StatusController.java | 2 +- .../main/java/com/juick/components/controllers/StatusController.java | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/juick-crosspost/src/main/java/com/juick/components/controllers/StatusController.java b/juick-crosspost/src/main/java/com/juick/components/controllers/StatusController.java index 0c6d6c05..8743fc11 100644 --- a/juick-crosspost/src/main/java/com/juick/components/controllers/StatusController.java +++ b/juick-crosspost/src/main/java/com/juick/components/controllers/StatusController.java @@ -32,7 +32,7 @@ import javax.inject.Inject; @RestController public class StatusController { @Inject - Crosspost crosspost; + private Crosspost crosspost; @RequestMapping(method = RequestMethod.GET, value = "/", produces = MediaType.APPLICATION_JSON_UTF8_VALUE) public Status status() { diff --git a/juick-notifications/src/main/java/com/juick/components/controllers/StatusController.java b/juick-notifications/src/main/java/com/juick/components/controllers/StatusController.java index 76435ef9..51b025ee 100644 --- a/juick-notifications/src/main/java/com/juick/components/controllers/StatusController.java +++ b/juick-notifications/src/main/java/com/juick/components/controllers/StatusController.java @@ -15,7 +15,7 @@ import javax.inject.Inject; @RestController public class StatusController { @Inject - Notifications push; + private Notifications push; @RequestMapping(method = RequestMethod.GET, value = "/", produces = MediaType.APPLICATION_JSON_UTF8_VALUE) public Status status() { diff --git a/juick-rss/src/main/java/com/juick/rss/controllers/FeedsController.java b/juick-rss/src/main/java/com/juick/rss/controllers/FeedsController.java index 6896e00f..7555f128 100644 --- a/juick-rss/src/main/java/com/juick/rss/controllers/FeedsController.java +++ b/juick-rss/src/main/java/com/juick/rss/controllers/FeedsController.java @@ -38,9 +38,9 @@ import java.util.List; public class FeedsController { @Inject - MessagesService messagesService; + private MessagesService messagesService; @Inject - UserService userService; + private UserService userService; @RequestMapping(value = "/{userName}/blog", method = RequestMethod.GET) public ModelAndView getBlog(@PathVariable String userName) { diff --git a/juick-ws/src/main/java/com/juick/ws/controllers/ApiController.java b/juick-ws/src/main/java/com/juick/ws/controllers/ApiController.java index b54a0840..812a7eee 100644 --- a/juick-ws/src/main/java/com/juick/ws/controllers/ApiController.java +++ b/juick-ws/src/main/java/com/juick/ws/controllers/ApiController.java @@ -32,7 +32,7 @@ import javax.inject.Inject; @RestController public class ApiController { @Inject - WebsocketComponent wsHandler; + private WebsocketComponent wsHandler; @RequestMapping(value = "/api/status", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_UTF8_VALUE) diff --git a/juick-xmpp-bot/src/main/java/com/juick/components/controllers/StatusController.java b/juick-xmpp-bot/src/main/java/com/juick/components/controllers/StatusController.java index aae947fa..350669b8 100644 --- a/juick-xmpp-bot/src/main/java/com/juick/components/controllers/StatusController.java +++ b/juick-xmpp-bot/src/main/java/com/juick/components/controllers/StatusController.java @@ -34,7 +34,7 @@ import javax.inject.Inject; @ResponseBody public class StatusController { @Inject - XMPPBot xmpp; + private XMPPBot xmpp; @RequestMapping(method = RequestMethod.GET, value = "/", produces = MediaType.APPLICATION_JSON_UTF8_VALUE) public Status status() { diff --git a/juick-xmpp/src/main/java/com/juick/components/controllers/StatusController.java b/juick-xmpp/src/main/java/com/juick/components/controllers/StatusController.java index 604fafd1..697ad04a 100644 --- a/juick-xmpp/src/main/java/com/juick/components/controllers/StatusController.java +++ b/juick-xmpp/src/main/java/com/juick/components/controllers/StatusController.java @@ -32,7 +32,7 @@ import javax.inject.Inject; @RestController public class StatusController { @Inject - XMPPServer xmpp; + private XMPPServer xmpp; @RequestMapping(method = RequestMethod.GET, value = "/status", produces = MediaType.APPLICATION_JSON_UTF8_VALUE) public XMPPStatus status() { -- cgit v1.2.3