Authored by qinchao

去掉不用的import

@@ -2,12 +2,7 @@ package com.monitor.javaserver.schedule; @@ -2,12 +2,7 @@ package com.monitor.javaserver.schedule;
2 2
3 import com.alibaba.fastjson.JSON; 3 import com.alibaba.fastjson.JSON;
4 import com.alibaba.fastjson.JSONObject; 4 import com.alibaba.fastjson.JSONObject;
5 -import com.contants.AlarmGroupContants;  
6 -import com.monitor.common.config.SnsMobileConfig;  
7 import com.monitor.common.service.AlarmMsgService; 5 import com.monitor.common.service.AlarmMsgService;
8 -import com.monitor.common.util.HttpRestClient;  
9 -import com.monitor.javaserver.bigdata.Vdata;  
10 -import com.monitor.javaserver.bigdata.ctrl.MonitAlarmCtrl;  
11 import com.util.GetUsersInfoUtil; 6 import com.util.GetUsersInfoUtil;
12 import org.slf4j.Logger; 7 import org.slf4j.Logger;
13 import org.slf4j.LoggerFactory; 8 import org.slf4j.LoggerFactory;
@@ -19,8 +14,6 @@ import org.springframework.web.util.UriComponentsBuilder; @@ -19,8 +14,6 @@ import org.springframework.web.util.UriComponentsBuilder;
19 14
20 import javax.annotation.Resource; 15 import javax.annotation.Resource;
21 import java.net.URI; 16 import java.net.URI;
22 -import java.util.HashMap;  
23 -import java.util.Map;  
24 17
25 /** 18 /**
26 * Created by craig.qin on 2017/10/16. 19 * Created by craig.qin on 2017/10/16.
@@ -2,11 +2,6 @@ package com.monitor; @@ -2,11 +2,6 @@ package com.monitor;
2 2
3 import com.monitor.common.util.HttpRestClient; 3 import com.monitor.common.util.HttpRestClient;
4 import org.apache.commons.net.telnet.TelnetClient; 4 import org.apache.commons.net.telnet.TelnetClient;
5 -import org.apache.http.HttpResponse;  
6 -import org.apache.http.client.methods.HttpGet;  
7 -import org.apache.http.client.params.ClientPNames;  
8 -import org.apache.http.impl.client.BasicResponseHandler;  
9 -import org.apache.http.impl.client.DefaultHttpClient;  
10 import org.junit.Test; 5 import org.junit.Test;
11 import org.junit.runner.RunWith; 6 import org.junit.runner.RunWith;
12 import org.springframework.beans.factory.annotation.Autowired; 7 import org.springframework.beans.factory.annotation.Autowired;
@@ -14,9 +9,9 @@ import org.springframework.context.annotation.PropertySource; @@ -14,9 +9,9 @@ import org.springframework.context.annotation.PropertySource;
14 import org.springframework.test.context.ContextConfiguration; 9 import org.springframework.test.context.ContextConfiguration;
15 import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; 10 import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
16 11
17 -import java.io.*;  
18 -import java.net.HttpURLConnection;  
19 -import java.net.Socket; 12 +import java.io.ByteArrayOutputStream;
  13 +import java.io.IOException;
  14 +import java.io.InputStream;
20 15
21 /** 16 /**
22 * Created by fruwei on 2016/7/5. 17 * Created by fruwei on 2016/7/5.