-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Move QueryGranularity static fields to QueryGranularities #2980
Conversation
I like the name QueryGranularities better than QueryGranularityUtil but otherwise 👍 |
Added a test which showcases the bug. I can switch the class from util --> granularities. give me 1 sec |
marking as incompatible because it may require extensions to change their class |
👍 |
{ | ||
final URL[] urls = ((URLClassLoader)QueryGranularity.class.getClassLoader()).getURLs(); | ||
final String className = QueryGranularity.class.getCanonicalName(); | ||
for(int i = 0; i < 1000; ++i) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@drcrallen do you remember why you added 1000 iterations here? Was it necessary to catch a deadlock?
Only QueryGranularity and QueryGranularities changed here.
All the rest of the changes are simple class name changes for the static fields