我有一个查询我正在从同一类中的另一段代码调用这样的方法
String message = "null";
//In this case have too show the Yes/No button screen
return performManualVerification(transaction, patientId, scriptInfo, message);
如上所示,消息包含字符串 null 我将其传递给下面的方法,但是在调试时我正在检查它是否不用于空检查块,它应该进入空检查块,它正在进行无电话块。请指教
private int performManualVerification(ITransaction transaction,
      String patientId, String scriptInfo, String message)
  {
    if (message.equalsIgnoreCase(null))
    {
      int UserResponse = messageBox.showMessage("patientinfoVerification",
          null, IMessageBox.YESNO);
      if (UserResponse == IMessageBox.YES) {
               Map<String, List<String>> ppvValidatedinfo = getValidatedPatientData(transaction, patientId, scriptInfo);
        if(ppvValidatedinfo.get(patientId) != null){
          return MANUALLY_VERIFIED; // manually verified
        }      
      } 
        return RETURN_SALE;   
    }
    messageBox.showMessage("Nophone", null, IMessageBox.OK);
    int UserResponse = messageBox.showMessage("patientinfoVerification",
        null, IMessageBox.YESNO);
    if (UserResponse == IMessageBox.YES) {
      Map<String, List<String>> ppvValidatedinfo = getValidatedPatientData(transaction, patientId, scriptInfo);
      if(ppvValidatedinfo.get(patientId) != null){
        return MANUALLY_VERIFIED; // manually verified
      }      
    } 
      return RETURN_SALE;   
  }