diff options
author | Alexander Alexeev | 2016-12-20 00:38:17 +0700 |
---|---|---|
committer | Alexander Alexeev | 2016-12-20 00:38:17 +0700 |
commit | 8fdbb5188d38a3f3420c5018281f3fd0259203e1 (patch) | |
tree | e74c382312a3202bcec92641b33f27622ee8d909 /juick-notifications/src/main/java/com/juick/components | |
parent | 4a40963da9e1030781fbfa2a3adc1d562902fcf6 (diff) |
@Repository should uses when DataAccessException translation is need
Diffstat (limited to 'juick-notifications/src/main/java/com/juick/components')
-rw-r--r-- | juick-notifications/src/main/java/com/juick/components/service/NotificationsTokenService.java | 4 |
1 files changed, 2 insertions, 2 deletions
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 c34f322b..9ea3fd3e 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 @@ -6,7 +6,7 @@ import org.springframework.http.HttpEntity; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; import org.springframework.http.MediaType; -import org.springframework.stereotype.Repository; +import org.springframework.stereotype.Service; import org.springframework.web.client.RestTemplate; import javax.inject.Inject; @@ -15,7 +15,7 @@ import java.util.List; /** * Created by vitalyster on 15.12.2016. */ -@Repository +@Service public class NotificationsTokenService extends BaseRestService implements TokenService { @Inject |