Program: 39377
Project: 39377
Buggy source:
@Override protected void onActivityResult(int requestCode,int resultCode,Intent data){
  super.onActivityResult(requestCode,resultCode,data);
  if (resultCode == RESULT_OK) {
    long accountId=data.getLongExtra(IntentConstant.ACCOUNT_ID,0);
    AccountDetailDO accountDetailDO=accountManager.getAccountByID(accountId);
    if (selectItem == 0) {
      if (inAccountID == accountId) {
        SnackBarUtil.showSnackInfo(floatingActionButton,this,"String_Node_Str");
        return;
      }
      outAccountID=accountId;
      mImgOutAccountIcon.setImageResource(IconTypeUtil.getAccountIcon(accountDetailDO.getAccountIcon()));
      if (!TextUtils.isEmpty(accountDetailDO.getAccountColor())) {
        mImgOutAccountIcon.setColorFilter(Integer.parseInt(accountDetailDO.getAccountColor()));
      }
 else {
        mImgOutAccountIcon.setColorFilter(0);
      }
      mTvoOutAccountName.setText(accountDetailDO.getAccountName());
      mTvOutAccountLeftMoney.setText(TextUtil.getFormatMoney(accountDetailDO.getAccountMoney()) + "String_Node_Str");
    }
 else {
      if (outAccountID == accountId) {
        SnackBarUtil.showSnackInfo(floatingActionButton,this,"String_Node_Str");
        return;
      }
      inAccountID=accountId;
      plusView.setVisibility(View.VISIBLE);
      eEtInMoney.setVisibility(View.VISIBLE);
      mImgInAccountIcon.setImageResource(IconTypeUtil.getAccountIcon(accountDetailDO.getAccountIcon()));
      if (!TextUtils.isEmpty(accountDetailDO.getAccountColor())) {
        mImgInAccountIcon.setColorFilter(Integer.parseInt(accountDetailDO.getAccountColor()));
      }
 else {
        mImgInAccountIcon.setColorFilter(0);
      }
      mTvInAccountName.setText(accountDetailDO.getAccountName());
      mTvInAccountLeftMoney.setText(TextUtil.getFormatMoney(accountDetailDO.getAccountMoney()) + "String_Node_Str");
    }
  }
}

Fixed version (ground truth):
@Override protected void onActivityResult(int requestCode,int resultCode,Intent data){
  super.onActivityResult(requestCode,resultCode,data);
  if (resultCode == RESULT_OK) {
    long accountId=data.getLongExtra(IntentConstant.ACCOUNT_ID,0);
    AccountDetailDO accountDetailDO=accountManager.getAccountByID(accountId);
    if (selectItem == 0) {
      if (inAccountID == accountId) {
        SnackBarUtil.showSnackInfo(floatingActionButton,this,getResources().getString(R.string.not_select_same_account));
        return;
      }
      outAccountID=accountId;
      mImgOutAccountIcon.setImageResource(IconTypeUtil.getAccountIcon(accountDetailDO.getAccountIcon()));
      if (!TextUtils.isEmpty(accountDetailDO.getAccountColor())) {
        mImgOutAccountIcon.setColorFilter(Integer.parseInt(accountDetailDO.getAccountColor()));
      }
 else {
        mImgOutAccountIcon.setColorFilter(0);
      }
      mTvoOutAccountName.setText(accountDetailDO.getAccountName());
      mTvOutAccountLeftMoney.setText(TextUtil.getFormatMoney(accountDetailDO.getAccountMoney()) + "String_Node_Str");
    }
 else {
      if (outAccountID == accountId) {
        SnackBarUtil.showSnackInfo(floatingActionButton,this,getResources().getString(R.string.not_select_same_account));
        return;
      }
      inAccountID=accountId;
      plusView.setVisibility(View.VISIBLE);
      eEtInMoney.setVisibility(View.VISIBLE);
      mImgInAccountIcon.setImageResource(IconTypeUtil.getAccountIcon(accountDetailDO.getAccountIcon()));
      if (!TextUtils.isEmpty(accountDetailDO.getAccountColor())) {
        mImgInAccountIcon.setColorFilter(Integer.parseInt(accountDetailDO.getAccountColor()));
      }
 else {
        mImgInAccountIcon.setColorFilter(0);
      }
      mTvInAccountName.setText(accountDetailDO.getAccountName());
      mTvInAccountLeftMoney.setText(TextUtil.getFormatMoney(accountDetailDO.getAccountMoney()) + "String_Node_Str");
    }
  }
}