Skip to content

Commit 1225158

Browse files
test(pagination): fix linting issues(4)
1 parent e985143 commit 1225158

3 files changed

Lines changed: 6 additions & 12 deletions

File tree

src/test/java/apimatic/core/EndToEndTest.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,6 @@ public class EndToEndTest extends MockCoreConfig {
123123
*/
124124
@Mock
125125
private Response response;
126-
/**
127-
* Base test class for end-to-end tests.
128-
* <p>
129-
* Subclasses can override this method to provide a custom response retrieval mechanism.
130-
* If overridden, ensure thread-safety and proper response management.
131-
*/
132126

133127
/**
134128
* Returns the current Response object.

src/test/java/apimatic/core/type/pagination/CursorPaginationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
public class CursorPaginationTest {
2222

2323
/**
24-
* Initializes Mockito rule to enable Mockito annotations and
24+
* Initializes Mockito rule to enable Mockito annotations and
2525
* silently handle unnecessary stubbings during tests.
2626
*/
2727
@Rule

src/test/java/apimatic/core/utilities/CoreHelperTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1860,17 +1860,17 @@ public void testUpdateValueByPointerInvalidCases() {
18601860
atoms.put("nucleas", new Atom(NUMBER_OF_PROTONS, null));
18611861

18621862
Map<String, Atom> result = CoreHelper
1863-
.updateValueByPointer(atoms, "/atom/NumberOfProtons", v -> null);
1863+
.updateValueByPointer(atoms, "/atom/NumberOfProtons", v -> null);
18641864
assertEquals(atoms, result);
18651865

18661866
result = CoreHelper
1867-
.updateValueByPointer(atoms, "/nucleas/NumberOfProtons",
1868-
v -> NUMBER_OF_NEUTRONS);
1867+
.updateValueByPointer(atoms, "/nucleas/NumberOfProtons",
1868+
v -> NUMBER_OF_NEUTRONS);
18691869
assertEquals(atoms, result);
18701870

18711871
result = CoreHelper
1872-
.updateValueByPointer(atoms, "/atom",
1873-
v -> new Atom(UPDATED_VALUE, UPDATED_VALUE));
1872+
.updateValueByPointer(atoms, "/atom",
1873+
v -> new Atom(UPDATED_VALUE, UPDATED_VALUE));
18741874
assertEquals(atoms, result);
18751875
}
18761876

0 commit comments

Comments
 (0)