From 59d08c3fe59077238e7f7774be359a7966ed522c Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 12 Jan 2018 10:36:36 +0300 Subject: api: merge top component --- .../configuration/NotificationsAppConfiguration.java | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'juick-notifications/src/main/java/com/juick/components/configuration') diff --git a/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java b/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java index f7616fd1..19d56d59 100644 --- a/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java +++ b/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java @@ -2,10 +2,7 @@ package com.juick.components.configuration; import com.juick.components.CleanUp; import com.juick.components.Notifications; -import com.juick.components.Top; -import com.juick.components.service.ApiMessagesService; import com.juick.server.configuration.BaseWebConfiguration; -import com.juick.service.MessagesService; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.*; import org.springframework.http.client.ClientHttpRequestInterceptor; @@ -53,12 +50,4 @@ public class NotificationsAppConfiguration extends BaseWebConfiguration { public CleanUp cleanUp() { return new CleanUp(); } - @Bean - public Top top() { - return new Top(); - } - @Bean - public MessagesService messagesService() { - return new ApiMessagesService(rest()); - } } -- cgit v1.2.3