Commit 16ddc84d by cblay Committed by Oliver Woodman

Make PriorityTaskManager constructor public.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=138759164
parent 8cc7dfda
...@@ -46,7 +46,7 @@ public final class PriorityTaskManager { ...@@ -46,7 +46,7 @@ public final class PriorityTaskManager {
private final PriorityQueue<Integer> queue; private final PriorityQueue<Integer> queue;
private int highestPriority; private int highestPriority;
private PriorityTaskManager() { public PriorityTaskManager() {
queue = new PriorityQueue<>(10, Collections.reverseOrder()); queue = new PriorityQueue<>(10, Collections.reverseOrder());
highestPriority = Integer.MIN_VALUE; highestPriority = Integer.MIN_VALUE;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment