Update MySerializationUtils.java
This commit is contained in:
parent
2cec538ac1
commit
00e2fed473
|
@ -37,8 +37,10 @@ public class MySerializationUtils {
|
|||
continue;
|
||||
}
|
||||
Class<?> fieldType = field.getType();
|
||||
serializable = isSerializable(fieldType);
|
||||
if (!isSerializable(fieldType)) {
|
||||
return false;
|
||||
}
|
||||
return serializable;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue