Skip to content

Commit 2f2d9aa

Browse files
authored
Merge branch 'master' into add_test_for_CircleSort
2 parents bab5d8f + de18d0d commit 2f2d9aa

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

checkstyle.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160

161161
<!-- Checks for common coding problems -->
162162
<!-- See https://checkstyle.org/checks/coding/index.html -->
163-
<!-- <module name="EmptyStatement"/> -->
163+
<module name="EmptyStatement"/>
164164
<!-- TODO <module name="EqualsHashCode"/> -->
165165
<!-- TODO <module name="HiddenField"/> -->
166166
<module name="IllegalInstantiation"/>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ public <T extends Comparable<T>> T[] sort(T[] array) {
1313
if (n == 0) {
1414
return array;
1515
}
16-
while (doSort(array, 0, n - 1))
17-
;
16+
while (doSort(array, 0, n - 1)) {
17+
}
1818
return array;
1919
}
2020

src/test/java/com/thealgorithms/ciphers/DESTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ void testDecrypt() {
4545
+ "001101001101001001101011001000011100000011001000011011001110101010010111101111000111"
4646
+ "101010011010110000100100110011000001010001010110010011011010001010011111000001110011001010011";
4747
String expectedOutput = "Your lips are smoother than vaseline\r\n";
48-
;
4948

5049
// when
5150
String plainText = des.decrypt(cipherText);

0 commit comments

Comments
 (0)