Closed ks3057 closed 3 years ago
Currently, we are fetching text length isTextLengthValid before we check if the text is null and this results in an unnecessary NPE. This PR fixes the order of the checks.
isTextLengthValid
Currently, we are fetching text length
isTextLengthValid
before we check if the text is null and this results in an unnecessary NPE. This PR fixes the order of the checks.