diff --git a/.idea/libraries/spring_data_mongodb_2_2_5_RELEASE_sources1.xml b/.idea/libraries/spring_data_mongodb_2_2_5_RELEASE_sources1.xml new file mode 100644 index 0000000..2027269 --- /dev/null +++ b/.idea/libraries/spring_data_mongodb_2_2_5_RELEASE_sources1.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/java/com/telpo/beidouast/BaidouAstApplication.java b/src/main/java/com/telpo/beidouast/BaidouAstApplication.java index a229025..176316a 100644 --- a/src/main/java/com/telpo/beidouast/BaidouAstApplication.java +++ b/src/main/java/com/telpo/beidouast/BaidouAstApplication.java @@ -1,21 +1,15 @@ -package com.telpo.dipperposition; +package com.telpo.beidouast; -import com.telpo.beidouast.co.PositionConfigInfo; import com.telpo.beidouast.server.DipperPositionServer; -import com.telpo.beidouast.server.EphAsyncServer; -import com.telpo.beidouast.server.TimeAsyncServer; import lombok.extern.slf4j.Slf4j; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.context.properties.ConfigurationPropertiesScan; -import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.ConfigurableApplicationContext; import org.springframework.core.env.ConfigurableEnvironment; import org.springframework.scheduling.annotation.EnableAsync; import org.springframework.scheduling.annotation.EnableScheduling; -import java.util.Properties; -import java.util.concurrent.Executor; /** * @program: gateway diff --git a/src/main/java/com/telpo/beidouast/server/DipperPositionServer.java b/src/main/java/com/telpo/beidouast/server/DipperPositionServer.java index caf12ee..e33868c 100644 --- a/src/main/java/com/telpo/beidouast/server/DipperPositionServer.java +++ b/src/main/java/com/telpo/beidouast/server/DipperPositionServer.java @@ -29,7 +29,7 @@ public class DipperPositionServer { private Integer posAsycPort; private Integer starsAsycPort; - public DipperPositionServer(ConfigurableEnvironment environment) throws NacosException { + public DipperPositionServer(ConfigurableEnvironment environment) { this.serverAddr = environment.getProperty("position-server.serverAddr"); this.serverPort = Integer.parseInt(environment.getProperty("server.port"));