Skip to content

Commit

Permalink
use simple string comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
psavidis committed Jun 19, 2024
1 parent 5a72e79 commit 5504e6d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ public boolean variableWillChangeType(TypedValue newValue) {
String currentTypeName = typedValueField.getTypeName();
String newTypeName = getTypeName(newValue);

return !Objects.equals(currentTypeName, newTypeName);
return !currentTypeName.equals(newTypeName);
}

public String getTypeName(TypedValue value) {
Expand Down

0 comments on commit 5504e6d

Please sign in to comment.