Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make KeyValueEntryData validation not case-sensitive #7143

Open
wants to merge 3 commits into
base: dev/patch
Choose a base branch
from

Conversation

erenkarakal
Copy link
Contributor

Description

This PR makes all entries in KeyValueEntryData's lowercase when comparing.


Target Minecraft Versions: any
Requirements: none
Related Issues: #7138

@erenkarakal erenkarakal changed the title Make EntryValidator validation not case-sensitive Make KeyValueEntryData validation not case-sensitive Oct 12, 2024
@Efnilite Efnilite added bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. enhancement Feature request, an issue about something that could be improved, or a PR improving something. labels Oct 12, 2024
@sovdeeth sovdeeth added the patch-ready A PR/issue that has been approved and is ready to be merged/closed for the next patch version. label Oct 12, 2024
Copy link
Member

@APickledWalrus APickledWalrus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This probably needs done for the other canCreateWith implementations

You might also prefer using https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html#regionMatches(boolean,int,java.lang.String,int,int)

@sovdeeth sovdeeth removed the patch-ready A PR/issue that has been approved and is ready to be merged/closed for the next patch version. label Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. enhancement Feature request, an issue about something that could be improved, or a PR improving something.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants