Closed IlhemEssaadi closed 6 months ago
Kudos, no new issues were introduced!
0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
@IlhemEssaadi In your commit message you explain HOW you fix the problem, but you dont explain WHAT is the problem. Can you add something to explain this point ? Thanks
@IlhemEssaadi In your commit message you explain HOW you fix the problem, but you dont explain WHAT is the problem. Can you add something to explain this point ? Thanks
Done!!
Prior to this change, there was a problem when attempting to parse a long from an empty toTimestamp string, as StringUtils.isNumeric(toTimestamp) returned true for an empty string, resulting in a NumberFormatException. This commit solves the problem by updating the import instruction to use org.apache.commons.lang3.StringUtils instead of org.apache.commons.lang.StringUtils. StringUtils.isNumeric now correctly checks that an empty string is not numeric, preventing long parsing attempts.