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 3a669abfd80 Fix sonar issue on MySQLBaseRowsBinlogEvent (#32576)
3a669abfd80 is described below
commit 3a669abfd80901e651db10c218400b56961fbec0
Author: Liang Zhang <[email protected]>
AuthorDate: Sun Aug 18 14:13:06 2024 +0800
Fix sonar issue on MySQLBaseRowsBinlogEvent (#32576)
---
.../ingest/incremental/binlog/event/rows/MySQLBaseRowsBinlogEvent.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/kernel/data-pipeline/dialect/mysql/src/main/java/org/apache/shardingsphere/data/pipeline/mysql/ingest/incremental/binlog/event/rows/MySQLBaseRowsBinlogEvent.java
b/kernel/data-pipeline/dialect/mysql/src/main/java/org/apache/shardingsphere/data/pipeline/mysql/ingest/incremental/binlog/event/rows/MySQLBaseRowsBinlogEvent.java
index dfa8fda0168..cce3d6bafb4 100644
---
a/kernel/data-pipeline/dialect/mysql/src/main/java/org/apache/shardingsphere/data/pipeline/mysql/ingest/incremental/binlog/event/rows/MySQLBaseRowsBinlogEvent.java
+++
b/kernel/data-pipeline/dialect/mysql/src/main/java/org/apache/shardingsphere/data/pipeline/mysql/ingest/incremental/binlog/event/rows/MySQLBaseRowsBinlogEvent.java
@@ -30,7 +30,7 @@ public abstract class MySQLBaseRowsBinlogEvent extends
MySQLBaseBinlogEvent {
private final String tableName;
- public MySQLBaseRowsBinlogEvent(final String fileName, final long
position, final long timestamp, final String databaseName, final String
tableName) {
+ protected MySQLBaseRowsBinlogEvent(final String fileName, final long
position, final long timestamp, final String databaseName, final String
tableName) {
super(fileName, position, timestamp);
this.databaseName = databaseName;
this.tableName = tableName;