Commit 5836d2b0f093dcfa846b5767b1eb33b8965cd95f

Authored by maliang
1 parent 5e58b2a8f3
Exists in master

删除无用代码

Showing 1 changed file with 0 additions and 20 deletions

core.sdk/src/main/java/com/lyms/synch/SyncUtils.java View file @ 5836d2b
1 1 package com.lyms.synch;
2 2  
3 3 import java.io.ObjectInputStream;
4   -import java.io.Serializable;
5 4  
6 5 import javax.servlet.http.HttpServletRequest;
7 6  
... ... @@ -26,25 +25,6 @@
26 25 e.printStackTrace();
27 26 }
28 27 return model;
29   - }
30   -
31   - /**
32   - * <li>@Description:获取包装的Data
33   - * <li>@param model
34   - * <li>@return
35   - * <li>创建人:maliang
36   - * <li>创建时间:2017年3月14日
37   - * <li>修改人:
38   - * <li>修改时间:
39   - */
40   - @SuppressWarnings("unchecked")
41   - public static <T> T converData(ChannelData model, Class<T> t) {
42   - if (model == null || model.getData() == null)
43   - return null;
44   - if (!Serializable.class.isAssignableFrom(t)) {
45   - return null;
46   - }
47   - return (T) model.getData();
48 28 }
49 29  
50 30 }