Skip to content

Commit 1383847

Browse files
committed
Declare class as final
1 parent 30b141c commit 1383847

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* executing,
1010
* it cannot be preempted.
1111
*/
12-
public class NonPreemptivePriorityScheduling {
12+
public final class NonPreemptivePriorityScheduling {
1313

1414
private NonPreemptivePriorityScheduling() {
1515
}

0 commit comments

Comments
 (0)