You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by su...@apache.org on 2023/05/18 16:49:04 UTC

[shardingsphere] branch master updated: Refactor InstanceContext (#25772)

This is an automated email from the ASF dual-hosted git repository.

sunnianjun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 1f951b67f91 Refactor InstanceContext (#25772)
1f951b67f91 is described below

commit 1f951b67f9147f8fe546f141ffd0478352254f08
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Fri May 19 00:48:56 2023 +0800

    Refactor InstanceContext (#25772)
---
 .../java/org/apache/shardingsphere/infra/instance/InstanceContext.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/infra/common/src/main/java/org/apache/shardingsphere/infra/instance/InstanceContext.java b/infra/common/src/main/java/org/apache/shardingsphere/infra/instance/InstanceContext.java
index 5b3ae26c2e2..73214596b40 100644
--- a/infra/common/src/main/java/org/apache/shardingsphere/infra/instance/InstanceContext.java
+++ b/infra/common/src/main/java/org/apache/shardingsphere/infra/instance/InstanceContext.java
@@ -51,7 +51,8 @@ public final class InstanceContext {
     
     private final ModeContextManager modeContextManager;
     
-    private final LockContext<?> lockContext;
+    @SuppressWarnings("rawtypes")
+    private final LockContext lockContext;
     
     private final EventBusContext eventBusContext;