We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68c8e69 commit 7d13d5eCopy full SHA for 7d13d5e
src/main/java/com/thealgorithms/scheduling/RandomScheduling.java
@@ -28,7 +28,7 @@ public final class RandomScheduling {
28
* @param random A Random instance for generating random numbers.
29
*/
30
public RandomScheduling(Collection<String> tasks, Random random) {
31
- this.tasks = new ArrayList<>(tasks); // Store tasks locally
+ this.tasks = new ArrayList<>(tasks);
32
this.random = random;
33
}
34
0 commit comments