mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-06 09:06:51 +08:00
Add automatic linter (#4214)
This commit is contained in:
@ -53,9 +53,7 @@ public class SJFScheduling {
|
||||
}
|
||||
|
||||
while (executed < size) {
|
||||
while (k < size
|
||||
&& processes.get(k).getArrivalTime()
|
||||
<= time) // here we find the processes that have arrived.
|
||||
while (k < size && processes.get(k).getArrivalTime() <= time) // here we find the processes that have arrived.
|
||||
{
|
||||
ready.add(processes.get(k));
|
||||
k++;
|
||||
|
Reference in New Issue
Block a user