wangliang181230 commented on code in PR #6208:
URL: https://github.com/apache/incubator-seata/pull/6208#discussion_r1437318579
##########
core/src/main/java/io/seata/core/serializer/SerializerServiceLoader.java:
##########
@@ -20,15 +20,18 @@
import io.seata.common.loader.EnhancedServiceNotFoundException;
import io.seata.common.util.ReflectionUtil;
+import java.util.HashMap;
+import java.util.Map;
+
/**
* The Service Loader for the interface {@link Serializer}
- *
*/
public final class SerializerServiceLoader {
private SerializerServiceLoader() {
}
+ private static Map<String, Serializer> serializerMap = new HashMap<>();
Review Comment:
Missing `final`
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]