You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pool: extract comparator creation to function in IoQueueManager
Motivation:
As suggested by IntelliJ IDEA, extract the creation of the comparator to its own function for clarity and encapsulation.
Modification:
Move the logic creating a comparator from a conditional to its own function, `getPrioritizedRequestComparator()`
Also fix a minor typo in a comment.
Result:
Code is clearer and less susceptible to unwanted fragmentation during update or refactoring.
Target: master
Patch: https://rb.dcache.org/r/14525/
Requires-notes: NO
Requires-book: NO
Acked-By: Tigran Mkrtchyan
0 commit comments