Skip to content

[#7285][Improvements] Use equalsIgnoreCase instead of upperCase.equals#7306

Merged
jerryshao merged 2 commits intoapache:mainfrom
gagan405:7285/fix
May 30, 2025
Merged

[#7285][Improvements] Use equalsIgnoreCase instead of upperCase.equals#7306
jerryshao merged 2 commits intoapache:mainfrom
gagan405:7285/fix

Conversation

@gagan405
Copy link
Contributor

@gagan405 gagan405 commented May 30, 2025

What changes were proposed in this pull request?

Replacing toUpperCase().equals with single equalsIgnoreCase

Why are the changes needed?

For better code readability

Fix: #7285

Does this PR introduce any user-facing change?

N/A

How was this patch tested?

./gradlew clean build

@jerryshao jerryshao merged commit 2658dc6 into apache:main May 30, 2025
27 checks passed
vishnu-chalil pushed a commit to vishnu-chalil/gravitino that referenced this pull request Jul 14, 2025
….equals (apache#7306)

### What changes were proposed in this pull request?

Replacing `toUpperCase().equals` with single `equalsIgnoreCase`

### Why are the changes needed?

For better code readability

Fix: apache#7285

### Does this PR introduce _any_ user-facing change?

N/A

### How was this patch tested?

./gradlew clean build
hdygxsj pushed a commit to hdygxsj/gravitino that referenced this pull request Jul 15, 2025
….equals (apache#7306)

### What changes were proposed in this pull request?

Replacing `toUpperCase().equals` with single `equalsIgnoreCase`

### Why are the changes needed?

For better code readability

Fix: apache#7285

### Does this PR introduce _any_ user-facing change?

N/A

### How was this patch tested?

./gradlew clean build
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

Successfully merging this pull request may close these issues.

[Improvement] Replace calls toUpperCase() and equals() with a single equalsIgnoreCase()

2 participants