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

[de] try to ignore words added as exception #9956

Merged
merged 2 commits into from
Dec 20, 2023

Conversation

Luisa-LT
Copy link
Collaborator

@Luisa-LT Luisa-LT commented Dec 19, 2023

@Luisa-LT Luisa-LT requested review from danielnaber and jaumeortola and removed request for danielnaber December 19, 2023 11:30
@jaumeortola
Copy link
Member

More tests can be added to OldSpellingRuleTest.java

@Luisa-LT Luisa-LT merged commit 74d07a8 into languagetool-org:master Dec 20, 2023
2 checks passed
@Luisa-LT Luisa-LT deleted the OLD_SPELLING_exceptions branch December 20, 2023 11:54
ignore = true;
break;
}
String pattern = "(?i)\\b" + Pattern.quote(exception) + "\\b";
Copy link
Member

Choose a reason for hiding this comment

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

This line/variable doesn't seem to be used

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Should I undo the changes again?

Copy link
Member

Choose a reason for hiding this comment

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

Not needed, but you could delete this line, as it's not needed. IntelliJ should also show pattern in light gray, indicating the variable is never used.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks!
commit: 200fe55

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.

3 participants