Skip to content

Commit e17e373

Browse files
graycreateclaude
andcommitted
fix: Address code review feedback - improve type safety
- Fixed raw type usage in CheckTest to use proper generics (List<?>) - Note: isValideUrl typo exists in source code, not in tests 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 5bb7966 commit e17e373

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/test/java/me/ghui/v2er/util/CheckTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public void testNotEmpty_withNoArguments() {
5353

5454
@Test
5555
public void testIsEmpty_withNullList() {
56-
assertTrue(Check.isEmpty((List) null));
56+
assertTrue(Check.isEmpty((List<?>) null));
5757
}
5858

5959
@Test
@@ -68,7 +68,7 @@ public void testIsEmpty_withNonEmptyList() {
6868

6969
@Test
7070
public void testNotEmpty_withNullList() {
71-
assertFalse(Check.notEmpty((List) null));
71+
assertFalse(Check.notEmpty((List<?>) null));
7272
}
7373

7474
@Test

0 commit comments

Comments
 (0)