Skip to content

Commit fafabd4

Browse files
committed
Fix
1 parent b566655 commit fafabd4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/com/thealgorithms/greedyalgorithms/StockProfitCalculator.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
*
88
* @author Hardvan
99
*/
10-
public class StockProfitCalculator {
10+
public final class StockProfitCalculator {
11+
private StockProfitCalculator() {
12+
}
1113

1214
/**
1315
* Calculates the maximum profit from a list of stock prices.

0 commit comments

Comments
 (0)