|
@@ -7,7 +7,7 @@ import java.beans.PropertyDescriptor;
|
7
|
7
|
import java.lang.reflect.InvocationTargetException;
|
8
|
8
|
import java.lang.reflect.Method;
|
9
|
9
|
|
10
|
|
-import static sun.invoke.util.Wrapper.isPrimitiveType;
|
|
10
|
+//import static sun.invoke.util.Wrapper.isPrimitiveType;
|
11
|
11
|
|
12
|
12
|
|
13
|
13
|
|
|
@@ -34,10 +34,10 @@ public class ObjectUtils {
|
34
|
34
|
if(value==null) {
|
35
|
35
|
continue;
|
36
|
36
|
}
|
37
|
|
- if(isPrimitiveType(value.getClass()) && value instanceof String) {
|
38
|
|
- String changeValue = CryptoUtil.decrypt((String)value);
|
39
|
|
- writeMethod.invoke(obj, changeValue);
|
40
|
|
- }
|
|
37
|
+// if(isPrimitiveType(value.getClass()) && value instanceof String) {
|
|
38
|
+// String changeValue = CryptoUtil.decrypt((String)value);
|
|
39
|
+// writeMethod.invoke(obj, changeValue);
|
|
40
|
+// }
|
41
|
41
|
} catch (IllegalAccessException | InvocationTargetException e) {
|
42
|
42
|
e.printStackTrace();
|
43
|
43
|
log.error("反射获取类【" + objClass.getName() + "】方法异常,", e);
|