Skip to content

Commit

Permalink
minor linter solved
Browse files Browse the repository at this point in the history
  • Loading branch information
BamaCharanChhandogi committed Aug 20, 2023
1 parent c90a3ff commit b469d31
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ public Process(String name, int arrivalTime, int burstTime, int priority) {
}

public class PreemptivePriorityScheduling {


public static List<String> preemptivePriorityScheduling(List<Process> processes) {
List<String> ganttChart = new ArrayList<>();
PriorityQueue<Process> readyQueue = new PriorityQueue<>(Comparator.comparingInt(p -> - p.priority));
Expand Down

0 comments on commit b469d31

Please sign in to comment.