This is an automated email from the ASF dual-hosted git repository. liubao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git
The following commit(s) were added to refs/heads/master by this push: new 0c9d5da [SCB-1457] delete no use code in ProtobufManager 0c9d5da is described below commit 0c9d5dadaf181b01e6d71e705b06dd87c87e8a8f Author: GuoYL <gylg...@gmail.com> AuthorDate: Thu Aug 22 21:31:48 2019 +0800 [SCB-1457] delete no use code in ProtobufManager --- .../servicecomb/codec/protobuf/definition/ProtobufManager.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/common/common-protobuf/src/main/java/org/apache/servicecomb/codec/protobuf/definition/ProtobufManager.java b/common/common-protobuf/src/main/java/org/apache/servicecomb/codec/protobuf/definition/ProtobufManager.java index 0d6278c..d54337e 100644 --- a/common/common-protobuf/src/main/java/org/apache/servicecomb/codec/protobuf/definition/ProtobufManager.java +++ b/common/common-protobuf/src/main/java/org/apache/servicecomb/codec/protobuf/definition/ProtobufManager.java @@ -23,8 +23,6 @@ import org.apache.servicecomb.core.definition.OperationMeta; import org.apache.servicecomb.foundation.common.utils.JvmUtils; public final class ProtobufManager { - private static ProtobufManager instance = new ProtobufManager(); - public static final String EXT_ID = "protobuf"; private static final Object LOCK = new Object(); @@ -32,9 +30,6 @@ public final class ProtobufManager { private static ScopedProtobufSchemaManager defaultScopedProtobufSchemaManager = new ScopedProtobufSchemaManager( JvmUtils.findClassLoader()); - private ProtobufManager() { - } - /** * only for app classloader * @return @@ -64,8 +59,4 @@ public final class ProtobufManager { return operationProtobuf; } - - public static ProtobufManager getInstance() { - return instance; - } }