validating the date format, add test case, since NumberFormatException extends IllegalArgumentException, it is only necessary to write IllegalArgumentException. #2529
GitHub Advanced Security / CodeQL
succeeded
Nov 7, 2023 in 5s
2 new alerts
New alerts in code changed by this pull request
- 2 warnings
See annotations below for details.
Annotations
Check warning on line 193 in gson/src/main/java/com/google/gson/internal/bind/util/ISO8601Utils.java
Code scanning / CodeQL
Dereferenced variable may be null Warning
may be null at this access as suggested by null guard.
Check warning on line 172 in gson/src/main/java/com/google/gson/internal/bind/util/ISO8601Utils.java
Code scanning / CodeQL
Dereferenced variable may be null Warning
may be null at this access as suggested by null guard.
Loading