Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EventData的clone方法永远返回null? #111

Closed
melonboy312 opened this issue Dec 3, 2015 · 1 comment
Closed

EventData的clone方法永远返回null? #111

melonboy312 opened this issue Dec 3, 2015 · 1 comment

Comments

@melonboy312
Copy link

代码如下:
public EventData clone() {
EventData data = new EventData();
data.setTableId(tableId);
data.setTableName(tableName);
data.setSchemaName(schemaName);
data.setDdlSchemaName(ddlSchemaName);
data.setEventType(eventType);
data.setExecuteTime(executeTime);
data.setKeys(cloneColumn(keys));
data.setColumns(cloneColumn(columns));
data.setOldKeys(cloneColumn(oldKeys));
data.setSize(size);
data.setPairId(pairId);
data.setSql(sql);
data.setSyncMode(syncMode);
data.setSyncConsistency(syncConsistency);
data.setRemedy(remedy);
data.setHint(hint);
data.setWithoutSchema(withoutSchema);
return null;
}

agapple added a commit that referenced this issue Dec 4, 2015
@agapple
Copy link
Member

agapple commented Dec 4, 2015

clone方法一直未使用,已修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants