Skip to content

Commit 6c46422

Browse files
committed
Fixing Clang Issue
1 parent 935868a commit 6c46422

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,8 @@ public Builder format(String format) {
330330
}
331331

332332
public Builder format(int decimalPlace) {
333-
String pattern = "." + "#".repeat(decimalPlace);
333+
String pattern = "."
334+
+ "#".repeat(decimalPlace);
334335
DecimalFormat formater = new DecimalFormat(pattern);
335336
String num = formater.format(number);
336337
number = Double.parseDouble(num);

src/test/java/com/thealgorithms/others/TestPrintMatrixInSpiralOrder.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import java.util.List;
66
import org.junit.jupiter.api.Test;
77

8-
98
public class TestPrintMatrixInSpiralOrder {
109
@Test
1110
public void testOne() {

0 commit comments

Comments
 (0)