Program: 144374
Project: 144374
Buggy source:
private OrderItemsBean transformToOrderItemsFormBean(OrderItems orderItem){
  OrderItemsBean orderItemBean=new OrderItemsBean();
  orderItemBean.setOrderItemId(orderItem.getOrderItemId());
  orderItemBean.setQuantity(orderItem.getQuantity());
  orderItemBean.setNameSize(orderItem.getNameSize());
  orderItemBean.setWeight(orderItem.getWeight());
  orderItemBean.setVolume(orderItem.getVolume());
  orderItemBean.setClassification(orderItem.getClassification());
  orderItemBean.setDescription(orderItem.getCommodity());
  orderItemBean.setRate(orderItem.getRate());
  orderItemBean.setDeclaredValue(orderItem.getDeclaredValue());
  orderItemBean.setRemarks(orderItem.getComments());
  if (orderItem.getVendorSea() != null && !"String_Node_Str".equals(orderItem.getVendorSea()) && !orderItem.getVendorSea().equals("String_Node_Str")) {
    Vendor seaVendor=vendorService.findVendorByVendorCode(orderItem.getVendorSea());
    orderItemBean.setVendorSea(seaVendor.getVendorName());
  }
 else {
    orderItemBean.setVendorSea("String_Node_Str");
  }
  if (orderItem.getVendorOrigin() != null && !"String_Node_Str".equals(orderItem.getVendorOrigin()) && !orderItem.getVendorOrigin().equals("String_Node_Str")) {
    Vendor originVendor=vendorService.findVendorByVendorCode(orderItem.getVendorOrigin());
    orderItemBean.setVendorOrigin(originVendor.getVendorName());
  }
 else {
    orderItemBean.setVendorOrigin("String_Node_Str");
  }
  if (orderItem.getVendorDestination() != null && !"String_Node_Str".equals(orderItem.getVendorDestination()) && !orderItem.getVendorDestination().equals("String_Node_Str")) {
    Vendor destinationVendor=vendorService.findVendorByVendorCode(orderItem.getVendorDestination());
    orderItemBean.setVendorDestination(destinationVendor.getVendorName());
  }
 else {
    orderItemBean.setVendorDestination("String_Node_Str");
  }
  return orderItemBean;
}

Fixed version (ground truth):
private OrderItemsBean transformToOrderItemsFormBean(OrderItems orderItem){
  OrderItemsBean orderItemBean=new OrderItemsBean();
  orderItemBean.setOrderItemId(orderItem.getOrderItemId());
  orderItemBean.setQuantity(orderItem.getQuantity());
  orderItemBean.setNameSize(orderItem.getNameSize());
  orderItemBean.setWeight(orderItem.getWeight());
  orderItemBean.setVolume(orderItem.getVolume());
  orderItemBean.setClassification(orderItem.getClassification());
  orderItemBean.setDescription(orderItem.getCommodity());
  orderItemBean.setRate(orderItem.getRate());
  orderItemBean.setDeclaredValue(orderItem.getDeclaredValue());
  orderItemBean.setRemarks(orderItem.getComments());
  Orders orderEntity=orderService.findOrdersById(orderItem.getOrderId());
  if (orderItem.getVendorSea() != null && !"String_Node_Str".equals(orderItem.getVendorSea()) && !orderItem.getVendorSea().equals("String_Node_Str")) {
    Vendor seaVendor=vendorService.findVendorByVendorCode(orderItem.getVendorSea());
    orderItemBean.setVendorSea(seaVendor.getVendorName());
  }
 else {
    if (orderEntity.getServiceType().equals("String_Node_Str")) {
      orderItemBean.setVendorSea("String_Node_Str");
    }
 else {
      orderItemBean.setVendorSea("String_Node_Str");
    }
  }
  if (orderItem.getVendorOrigin() != null && !"String_Node_Str".equals(orderItem.getVendorOrigin()) && !orderItem.getVendorOrigin().equals("String_Node_Str")) {
    Vendor originVendor=vendorService.findVendorByVendorCode(orderItem.getVendorOrigin());
    orderItemBean.setVendorOrigin(originVendor.getVendorName());
  }
 else {
    if (orderEntity.getServiceMode().equals("String_Node_Str") || orderEntity.getServiceMode().equals("String_Node_Str") || orderEntity.getServiceMode().equals("String_Node_Str")) {
      orderItemBean.setVendorOrigin("String_Node_Str");
    }
 else {
      orderItemBean.setVendorOrigin("String_Node_Str");
    }
  }
  if (orderItem.getVendorDestination() != null && !"String_Node_Str".equals(orderItem.getVendorDestination()) && !orderItem.getVendorDestination().equals("String_Node_Str")) {
    Vendor destinationVendor=vendorService.findVendorByVendorCode(orderItem.getVendorDestination());
    orderItemBean.setVendorDestination(destinationVendor.getVendorName());
  }
 else {
    if (orderEntity.getServiceMode().equals("String_Node_Str") || orderEntity.getServiceMode().equals("String_Node_Str") || orderEntity.getServiceMode().equals("String_Node_Str")) {
      orderItemBean.setVendorDestination("String_Node_Str");
    }
 else {
      orderItemBean.setVendorDestination("String_Node_Str");
    }
  }
  return orderItemBean;
}