Skip to content

Commit 20d2c5b

Browse files
author
Alex Klymenko
committed
checkstyle: fix formatting
1 parent 04b7e42 commit 20d2c5b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/main/java/com/thealgorithms/sorts/FlashSort.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* </ol>
2323
*/
2424
public class FlashSort implements SortAlgorithm {
25-
private double classificationRatio = 0.45;;
25+
private double classificationRatio = 0.45;
2626

2727
public FlashSort() {
2828
}

src/test/java/com/thealgorithms/sorts/FlashSortTest.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,17 @@
33
import static org.junit.jupiter.api.Assertions.assertEquals;
44
import static org.junit.jupiter.api.Assertions.assertThrows;
55

6+
import java.lang.reflect.Method;
7+
import java.util.ArrayList;
8+
import java.util.Collection;
9+
import java.util.List;
610
import org.junit.jupiter.api.DynamicTest;
711
import org.junit.jupiter.api.Test;
812
import org.junit.jupiter.api.TestFactory;
913
import org.junit.jupiter.api.function.Executable;
1014
import org.junit.jupiter.params.ParameterizedTest;
1115
import org.junit.jupiter.params.provider.ValueSource;
1216

13-
import java.lang.reflect.Method;
14-
import java.util.ArrayList;
15-
import java.util.Collection;
16-
import java.util.List;
17-
1817
public class FlashSortTest extends SortingAlgorithmTest {
1918
private final FlashSort flashSort = new FlashSort();
2019

@@ -87,5 +86,6 @@ private List<TestMethod> getTestMethodsFromSuperClass() {
8786
return testMethods;
8887
}
8988

90-
record TestMethod(Executable executable, String name) {}
89+
record TestMethod(Executable executable, String name) {
90+
}
9191
}

0 commit comments

Comments
 (0)