From a899f919684e98557ee7d3c4f671cb7630b18627 Mon Sep 17 00:00:00 2001 From: crusader Date: Thu, 26 Apr 2018 20:01:37 +0900 Subject: [PATCH] ing --- .../overflow/container/service/ContainerCrawlerService.java | 3 +-- .../overflow/container/service/ContainerProbeService.java | 3 +-- .../container/service/ContainerSensorConfigService.java | 3 +-- .../java/com/loafle/overflow/container/service/Service.java | 2 +- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/loafle/overflow/container/service/ContainerCrawlerService.java b/src/main/java/com/loafle/overflow/container/service/ContainerCrawlerService.java index e4bd584..e711271 100644 --- a/src/main/java/com/loafle/overflow/container/service/ContainerCrawlerService.java +++ b/src/main/java/com/loafle/overflow/container/service/ContainerCrawlerService.java @@ -7,7 +7,6 @@ import javax.annotation.Resource; import com.loafle.overflow.container.Container; import com.loafle.overflow.core.annotation.RPCService; import com.loafle.overflow.core.exception.OverflowException; -import com.loafle.overflow.core.interfaces.Service; import com.loafle.overflow.crawler.Crawler; import com.loafle.overflow.model.sensorconfig.SensorConfig; import com.loafle.overflow.service.container.CrawlerService; @@ -20,7 +19,7 @@ import org.springframework.beans.factory.annotation.Autowired; * CrawlerService */ @RPCService("CrawlerService") -public class ContainerCrawlerService implements Service, CrawlerService { +public class ContainerCrawlerService implements CrawlerService { private static final Logger logger = LoggerFactory.getLogger(ContainerCrawlerService.class); @Autowired diff --git a/src/main/java/com/loafle/overflow/container/service/ContainerProbeService.java b/src/main/java/com/loafle/overflow/container/service/ContainerProbeService.java index 5553e7b..cb3cada 100644 --- a/src/main/java/com/loafle/overflow/container/service/ContainerProbeService.java +++ b/src/main/java/com/loafle/overflow/container/service/ContainerProbeService.java @@ -2,14 +2,13 @@ package com.loafle.overflow.container.service; import com.loafle.overflow.core.annotation.RPCService; import com.loafle.overflow.core.exception.OverflowException; -import com.loafle.overflow.core.interfaces.Service; import com.loafle.overflow.service.container.ProbeService; /** * ProbeService */ @RPCService("ProbeService") -public class ContainerProbeService implements Service, ProbeService { +public class ContainerProbeService implements ProbeService { @Override public void initService() throws Exception { diff --git a/src/main/java/com/loafle/overflow/container/service/ContainerSensorConfigService.java b/src/main/java/com/loafle/overflow/container/service/ContainerSensorConfigService.java index 1e25b8b..b210411 100644 --- a/src/main/java/com/loafle/overflow/container/service/ContainerSensorConfigService.java +++ b/src/main/java/com/loafle/overflow/container/service/ContainerSensorConfigService.java @@ -6,7 +6,6 @@ import java.util.Map; import com.loafle.overflow.core.annotation.RPCService; import com.loafle.overflow.core.exception.OverflowException; -import com.loafle.overflow.core.interfaces.Service; import com.loafle.overflow.model.sensorconfig.SensorConfig; import com.loafle.overflow.service.container.SensorConfigService; @@ -17,7 +16,7 @@ import org.slf4j.LoggerFactory; * SensorConfigService */ @RPCService("SensorConfigService") -public class ContainerSensorConfigService implements Service, SensorConfigService { +public class ContainerSensorConfigService implements SensorConfigService { private static final Logger logger = LoggerFactory.getLogger(ContainerSensorConfigService.class); private Map sensorConfigs; diff --git a/src/main/java/com/loafle/overflow/container/service/Service.java b/src/main/java/com/loafle/overflow/container/service/Service.java index b93abbf..ef1f5d9 100644 --- a/src/main/java/com/loafle/overflow/container/service/Service.java +++ b/src/main/java/com/loafle/overflow/container/service/Service.java @@ -94,4 +94,4 @@ public class Service implements InitializingBean, ApplicationContextAware { } return name; } -} \ No newline at end of file +}