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

replace blacklist and whitelist with denylist and allowlist in ERJava… #931

Conversation

elemgee
Copy link
Contributor

@elemgee elemgee commented Jun 13, 2020

…Mail classes and documentation

I’ve provided cover methods for the old blacklist/whitelist methods so there can be graceful deprecation of these terms.
This isn’t a change in function at all. There has been renewed discussion in many forums about the use of blacklist and whitelist and the connotations of bad/excluded and good/included. (blacklist addresses you want to exclude and whitelist addresses are those you want to include). Since this is a symbolic change and the use of “deny/allow” is a more clear indication of the intent and use of the functions, it’s worth making this change to these commonly used terms. Perhaps, over time, the negative associations will fade. Regardless of whether that happens, I think it’s worth using more clear terms here and being conscious of the unintended effects of some common practices.

…Mail classes and documentation

I’ve provided cover methods for the old blacklist/whitelist methods so there can be graceful deprecation of these terms.
This isn’t a change in function at all. There has been renewed discussion in many forums about the use of blacklist and whitelist and the connotations of bad/excluded and good/included. (blacklist addresses you want to exclude and whitelist addresses are those you want to include).  Since this is a symbolic change and the use of “deny/allow” is a more clear indication of the intent and use of the functions, it’s worth making this change to these commonly used terms. Perhaps, over time, the negative associations will fade. Regardless of whether that happens, I think it’s worth using more clear terms here and being conscious of the unintended effects of some common practices.
@rkiddy
Copy link
Member

rkiddy commented Jan 9, 2022

@elemgee So, you are not up for translating the black and white references in the japanese javadoc? :--) O well.

The changes look good and I cannot think of any reason not to merge it. Since I have not updated in a while, I will double-check and move on it soon.

Let us know if there is anything you have thought of since you set this up.

@elemgee
Copy link
Contributor Author

elemgee commented Jan 12, 2022 via email

Copy link
Contributor

@hprange hprange left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@hprange hprange merged commit 7fe9388 into wocommunity:master Jan 16, 2022
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