Skip to content

Commit

Permalink
fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
amorynan committed Jan 14, 2025
1 parent af9aec8 commit 8b2aaf7
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,8 @@ public static boolean checkSupportSchemaChangeForCharType(Type checkType, Type o
}
return true;
} else {
// both are string no need to check length
return checkType.getPrimitiveType() == PrimitiveType.STRING
&& other.getPrimitiveType() == PrimitiveType.STRING;
// types equal can return true
return checkType.equals(other);
}
}

Expand Down

0 comments on commit 8b2aaf7

Please sign in to comment.