From 02723131139806c761539a42a5fa80b68ecadee8 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 29 Jun 2017 14:03:04 +0300 Subject: project structure: split server into jdbc + web --- .../com/juick/components/service/BaseRestService.java | 18 ------------------ .../components/service/NotificationsTokenService.java | 1 + 2 files changed, 1 insertion(+), 18 deletions(-) delete mode 100644 juick-notifications/src/main/java/com/juick/components/service/BaseRestService.java (limited to 'juick-notifications/src/main/java/com/juick/components/service') diff --git a/juick-notifications/src/main/java/com/juick/components/service/BaseRestService.java b/juick-notifications/src/main/java/com/juick/components/service/BaseRestService.java deleted file mode 100644 index d4bc369c..00000000 --- a/juick-notifications/src/main/java/com/juick/components/service/BaseRestService.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.juick.components.service; - -import org.springframework.web.client.RestTemplate; - -/** - * Created by vitalyster on 15.12.2016. - */ -public abstract class BaseRestService { - private RestTemplate rest; - - public BaseRestService(RestTemplate rest) { - this.rest = rest; - } - - public RestTemplate getRest() { - return rest; - } -} diff --git a/juick-notifications/src/main/java/com/juick/components/service/NotificationsTokenService.java b/juick-notifications/src/main/java/com/juick/components/service/NotificationsTokenService.java index 9ea3fd3e..4dd949c3 100644 --- a/juick-notifications/src/main/java/com/juick/components/service/NotificationsTokenService.java +++ b/juick-notifications/src/main/java/com/juick/components/service/NotificationsTokenService.java @@ -1,6 +1,7 @@ package com.juick.components.service; import com.juick.TokensList; +import com.juick.service.BaseRestService; import org.springframework.core.ParameterizedTypeReference; import org.springframework.http.HttpEntity; import org.springframework.http.HttpHeaders; -- cgit v1.2.3