Skip to content

Commit bedba7e

Browse files
committed
Rename couple of classes
1 parent 03a1cd5 commit bedba7e

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/main/java/by/andd3dfx/collections/RemoveDuplicatesFromSortedArray2.java renamed to src/main/java/by/andd3dfx/collections/RemoveDuplicatesFromSortedArray_II.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
* It does not matter what you leave beyond the returned k (hence they are underscores).
3535
* </pre>
3636
*/
37-
public class RemoveDuplicatesFromSortedArray2 {
37+
public class RemoveDuplicatesFromSortedArray_II {
3838

3939
public int removeDuplicates(int[] nums) {
4040
var left = 0;

src/main/java/by/andd3dfx/collections/RemoveDuplicatesFromSortedLinkedList2.java renamed to src/main/java/by/andd3dfx/collections/RemoveDuplicatesFromSortedLinkedList_II.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* The list is guaranteed to be sorted in ascending order.
2323
* </pre>
2424
*/
25-
public class RemoveDuplicatesFromSortedLinkedList2 {
25+
public class RemoveDuplicatesFromSortedLinkedList_II {
2626

2727
@Data
2828
@AllArgsConstructor

src/test/java/by/andd3dfx/collections/RemoveDuplicatesFromSortedArray2Test.java renamed to src/test/java/by/andd3dfx/collections/RemoveDuplicatesFromSortedArray_IITest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77

88
import static org.assertj.core.api.Assertions.assertThat;
99

10-
public class RemoveDuplicatesFromSortedArray2Test {
10+
public class RemoveDuplicatesFromSortedArray_IITest {
1111

12-
private RemoveDuplicatesFromSortedArray2 removeDuplicatesFromSortedArray;
12+
private RemoveDuplicatesFromSortedArray_II removeDuplicatesFromSortedArray;
1313

1414
@Before
1515
public void setUp() throws Exception {
16-
removeDuplicatesFromSortedArray = new RemoveDuplicatesFromSortedArray2();
16+
removeDuplicatesFromSortedArray = new RemoveDuplicatesFromSortedArray_II();
1717
}
1818

1919
@Test

src/test/java/by/andd3dfx/collections/RemoveDuplicatesFromSortedLinkedList2Test.java renamed to src/test/java/by/andd3dfx/collections/RemoveDuplicatesFromSortedLinkedList_IITest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
package by.andd3dfx.collections;
22

3-
import by.andd3dfx.collections.RemoveDuplicatesFromSortedLinkedList2.Node;
3+
import by.andd3dfx.collections.RemoveDuplicatesFromSortedLinkedList_II.Node;
44
import org.junit.Test;
55

6-
import static by.andd3dfx.collections.RemoveDuplicatesFromSortedLinkedList2.remove;
6+
import static by.andd3dfx.collections.RemoveDuplicatesFromSortedLinkedList_II.remove;
77
import static org.assertj.core.api.Assertions.assertThat;
88

9-
public class RemoveDuplicatesFromSortedLinkedList2Test {
9+
public class RemoveDuplicatesFromSortedLinkedList_IITest {
1010

1111
@Test
1212
public void testRemoveForNull() {

0 commit comments

Comments
 (0)