Skip to content

Commit d9f76d0

Browse files
Fix clang-format: remove blank line after class brace, fix param alignment
1 parent 3283b0b commit d9f76d0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/main/java/com/thealgorithms/maths/ReturnOnInvestment.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,14 @@
99
* @see <a href="https://www.investopedia.com/terms/r/returnoninvestment.asp">Investopedia</a>
1010
*/
1111
public final class ReturnOnInvestment {
12-
1312
private ReturnOnInvestment() {
1413
}
1514

1615
/**
1716
* Calculates the return on investment as a percentage.
1817
*
1918
* @param gainFromInvestment the total value gained from the investment
20-
* @param costOfInvestment the total cost of the investment
19+
* @param costOfInvestment the total cost of the investment
2120
* @return ROI as a percentage
2221
* @throws IllegalArgumentException if costOfInvestment is not positive
2322
*/

0 commit comments

Comments
 (0)