Closed dynarithmic closed 5 years ago
Note: I found this with a SonarQube check on the code.
Here is a possible bug in CompilerFactory.java when checking for a blank string:
if (queryBinding == "") {
A check for a blank string should use queryBinding.isEmpty(), or .equals("") (plus maybe a check for null beforehand).
queryBinding.isEmpty()
.equals("")
null
Thanks for reporting!
Note: I found this with a SonarQube check on the code.
Here is a possible bug in CompilerFactory.java when checking for a blank string:
if (queryBinding == "") {
A check for a blank string should use
queryBinding.isEmpty()
, or.equals("")
(plus maybe a check fornull
beforehand).