This is an automated email from the ASF dual-hosted git repository.
zhangliang 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 8e52107bc05 Fix sonar issue on LockSQLException (#34211)
8e52107bc05 is described below
commit 8e52107bc05ffdbfa6c180c499b02297c2eddfb9
Author: Liang Zhang <[email protected]>
AuthorDate: Mon Dec 30 23:00:33 2024 +0800
Fix sonar issue on LockSQLException (#34211)
---
.../core/external/sql/type/kernel/category/LockSQLException.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/infra/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/core/external/sql/type/kernel/category/LockSQLException.java
b/infra/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/core/external/sql/type/kernel/category/LockSQLException.java
index 1797f0cdc76..2c35640f490 100644
---
a/infra/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/core/external/sql/type/kernel/category/LockSQLException.java
+++
b/infra/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/core/external/sql/type/kernel/category/LockSQLException.java
@@ -29,7 +29,7 @@ public abstract class LockSQLException extends
KernelSQLException {
private static final int KERNEL_CODE = 5;
- public LockSQLException(final SQLState sqlState, final int errorCode,
final String reason, final Object... messageArguments) {
+ protected LockSQLException(final SQLState sqlState, final int errorCode,
final String reason, final Object... messageArguments) {
super(sqlState, KERNEL_CODE, errorCode, reason, messageArguments);
}
}