Skip to content

Commit

Permalink
default binaryEncoding
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed May 29, 2012
1 parent 8bb7c5b commit b45ee71
Showing 1 changed file with 7 additions and 5 deletions.
Expand Up @@ -44,8 +44,8 @@ public class IncomingError implements Serializable {
private String targetSchemaName;

private String targetTableName;
private BinaryEncoding binaryEncoding;

private BinaryEncoding binaryEncoding = BinaryEncoding.HEX;

private DataEventType eventType;

Expand Down Expand Up @@ -240,11 +240,13 @@ public String[] getParsedPrimaryKeyColumnNames() {
return null;
}
}

public void setBinaryEncoding(BinaryEncoding binaryEncoding) {
this.binaryEncoding = binaryEncoding;
if (binaryEncoding != null) {
this.binaryEncoding = binaryEncoding;
}
}

public BinaryEncoding getBinaryEncoding() {
return binaryEncoding;
}
Expand Down

0 comments on commit b45ee71

Please sign in to comment.