From 9d199a1125f679c81f5b40edd38d781a60a8d4cd Mon Sep 17 00:00:00 2001 From: "minghua.xie" Date: Fri, 21 Jun 2024 09:58:55 +0800 Subject: [PATCH] style --- .../apache/seata/core/serializer/SerializerServiceLoader.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/src/main/java/org/apache/seata/core/serializer/SerializerServiceLoader.java b/core/src/main/java/org/apache/seata/core/serializer/SerializerServiceLoader.java index e13d46efc83..f3d40b049db 100644 --- a/core/src/main/java/org/apache/seata/core/serializer/SerializerServiceLoader.java +++ b/core/src/main/java/org/apache/seata/core/serializer/SerializerServiceLoader.java @@ -46,7 +46,7 @@ public final class SerializerServiceLoader { private static final Logger LOGGER = LoggerFactory.getLogger(SerializerServiceLoader.class); private static final Configuration CONFIG = ConfigurationFactory.getInstance(); - private static final SerializerType[] DEFAULT_SERIALIZER_TYPE = new SerializerType[] {SEATA, PROTOBUF, KRYO, HESSIAN}; + private static final SerializerType[] DEFAULT_SERIALIZER_TYPE = new SerializerType[]{SEATA, PROTOBUF, KRYO, HESSIAN}; private static final String SPLIT_CHAR = ","; @@ -115,6 +115,4 @@ public static SerializerType getDefaultSerializerType() { return getSupportedSerializers().get(0); } -} - } \ No newline at end of file