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

Do not allow static import of builders classes #180

Open
electrum opened this issue Feb 14, 2019 · 1 comment
Open

Do not allow static import of builders classes #180

electrum opened this issue Feb 14, 2019 · 1 comment

Comments

@electrum
Copy link
Member

For example, these should be illegal:

import static com.google.common.collect.ImmutableList.Builder;
import static com.google.common.collect.ImmutableList.builder;
@findepi
Copy link
Contributor

findepi commented Feb 14, 2019

This should be illegal too

import com.google.common.collect.ImmutableList.Builder;

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

No branches or pull requests

2 participants