if (res.getBody() == null || res.getBody().getServiceResult() == null) {
return; //
}
in above code, sonarlint complains that SonarLint: A "NullPointerException" could be thrown; "getBody()" can return null. (from res.getBody().getServiceResult() )
I think "res.getBody() == null" checks null first so it should go to return line, not reach to next if condition.
Am I thinking something wrong?