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

Better names to anonymous classes #54

Open
mauricioaniche opened this issue Mar 20, 2020 · 0 comments
Open

Better names to anonymous classes #54

mauricioaniche opened this issue Mar 20, 2020 · 0 comments

Comments

@mauricioaniche
Copy link
Owner

Take the example of this real-world class: HectorPolicyManagerImpl, also in our repo.

The method getAllPolicies declares an anonymous class in line 113. CK calls it net.retakethe.policyauction.data.impl.HectorPolicyManagerImpl$Anonymous1.

That's too generic. Maybe a better name would be net.retakethe.policyauction.data.impl.HectorPolicyManagerImpl.getAllPolicies.filter$Anonymous1.

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

1 participant