Skip to content

Commit bcb26d1

Browse files
committed
Removing all CheckStyle issues
1 parent a2183e4 commit bcb26d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ public Builder format(String format) {
331331

332332
public Builder format(int decimalPlace) {
333333
String pattern = "."
334-
+ "#".repeat(decimalPlace);
334+
+"#".repeat(decimalPlace);
335335
DecimalFormat formater = new DecimalFormat(pattern);
336336
String num = formater.format(number);
337337
number = Double.parseDouble(num);

src/test/java/com/thealgorithms/maths/MathBuilderTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package com.thealgorithms.maths;
22

3-
import static org.junit.jupiter.api.Assertions.assertEquals;
43
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
4+
import static org.junit.jupiter.api.Assertions.assertEquals;
55

66
import org.junit.jupiter.api.Test;
77

0 commit comments

Comments
 (0)