Skip to content

Commit d4d24db

Browse files
committed
Fix checkstyle errors
1 parent e45ea52 commit d4d24db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/thealgorithms/scheduling/MLFQScheduler.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*/
1111
public class MLFQScheduler {
1212
private Queue<Process>[] queues; // Multi-level feedback queues
13-
private int timeQuantum[]; // Time quantum for each queue level
13+
private int[] timeQuantum; // Time quantum for each queue level
1414
private int currentTime; // Current time in the system
1515

1616
/**
@@ -116,7 +116,7 @@ class Process {
116116
* @param burstTime CPU Burst Time (time required for the process)
117117
* @param arrivalTime Arrival time of the process
118118
*/
119-
public Process(int pid, int burstTime, int arrivalTime) {
119+
Process(int pid, int burstTime, int arrivalTime) {
120120
this.pid = pid;
121121
this.burstTime = burstTime;
122122
this.remainingTime = burstTime;

0 commit comments

Comments
 (0)