zentol commented on code in PR #21153:
URL: https://github.com/apache/flink/pull/21153#discussion_r1009309372
##########
flink-runtime/src/main/java/org/apache/flink/runtime/state/VoidNamespace.java:
##########
@@ -56,13 +54,4 @@ public boolean equals(Object obj) {
public String toString() {
return getClass().getSimpleName();
}
-
- // ------------------------------------------------------------------------
- // Singleton serialization
- // ------------------------------------------------------------------------
-
- // make sure that we preserve the singleton properly on serialization
- private Object readResolve() throws ObjectStreamException {
Review Comment:
This is wrong.
https://docs.oracle.com/javase/7/docs/platform/serialization/spec/input.html#5903
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]