Skip to content

Commit

Permalink
fix issue with converting text to string in MetadataConstraints in 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinrr888 committed Sep 17, 2024
1 parent 9f8c069 commit 460370a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,7 @@ private void validateServerFamily(ArrayList<Short> violations, ColumnUpdate colu
private void validateSuspendLocationFamily(ArrayList<Short> violations,
ColumnUpdate columnUpdate) {
String qualStr = new String(columnUpdate.getColumnQualifier(), UTF_8);
String suspendColQualStr =
new String(SuspendLocationColumn.SUSPEND_COLUMN.getColumnQualifier().getBytes(), UTF_8);
String suspendColQualStr = SuspendLocationColumn.SUSPEND_COLUMN.getColumnQualifier().toString();

if (qualStr.equals(suspendColQualStr)) {
try {
Expand Down

0 comments on commit 460370a

Please sign in to comment.