From 05fd997c81de083aa6fbef95a8fc92201c31a3e0 Mon Sep 17 00:00:00 2001 From: geek Date: Fri, 30 Jun 2017 14:41:42 +0900 Subject: [PATCH] no use import remove --- .../java/com/loafle/overflow/proxy/ServiceInvoker.java | 2 -- src/main/java/com/loafle/overflow/proxy/ServiceProxy.java | 8 -------- .../com/loafle/overflow/spring/MailConfiguration.java | 2 -- 3 files changed, 12 deletions(-) diff --git a/src/main/java/com/loafle/overflow/proxy/ServiceInvoker.java b/src/main/java/com/loafle/overflow/proxy/ServiceInvoker.java index 1a7073b..442ea41 100644 --- a/src/main/java/com/loafle/overflow/proxy/ServiceInvoker.java +++ b/src/main/java/com/loafle/overflow/proxy/ServiceInvoker.java @@ -4,9 +4,7 @@ import com.google.protobuf.ByteString; import org.codehaus.jackson.map.DeserializationConfig; import org.codehaus.jackson.map.ObjectMapper; import org.springframework.aop.support.AopUtils; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationContext; -import org.springframework.stereotype.Component; import java.io.IOException; import java.lang.reflect.InvocationTargetException; diff --git a/src/main/java/com/loafle/overflow/proxy/ServiceProxy.java b/src/main/java/com/loafle/overflow/proxy/ServiceProxy.java index 8123157..c097edc 100644 --- a/src/main/java/com/loafle/overflow/proxy/ServiceProxy.java +++ b/src/main/java/com/loafle/overflow/proxy/ServiceProxy.java @@ -1,22 +1,14 @@ package com.loafle.overflow.proxy; -import com.google.protobuf.ByteString; import com.loafle.overflow.api.OverflowApiServerGrpc; import com.loafle.overflow.api.ServerInput; import com.loafle.overflow.api.ServerOutput; -import com.loafle.overflow.api.ServerParam; import io.grpc.ServerBuilder; -import org.codehaus.jackson.map.DeserializationConfig; -import org.codehaus.jackson.map.ObjectMapper; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import java.io.IOException; import java.lang.reflect.InvocationTargetException; -import java.lang.reflect.Method; -import java.util.ArrayList; -import java.util.List; import java.util.logging.Logger; /** diff --git a/src/main/java/com/loafle/overflow/spring/MailConfiguration.java b/src/main/java/com/loafle/overflow/spring/MailConfiguration.java index a8c7f82..2781511 100644 --- a/src/main/java/com/loafle/overflow/spring/MailConfiguration.java +++ b/src/main/java/com/loafle/overflow/spring/MailConfiguration.java @@ -15,8 +15,6 @@ import java.util.Properties; @ComponentScan(basePackages = "com.loafle.overflow") public class MailConfiguration { - - @Value("${mail.host}") private String host; @Value("${mail.port}")