nus-yam/ex-repair huggingface dataset:
Program: 144411
Project: 144411
Buggy source:
public void addVesselSchedule(VesselSchedules vesselSchedules);

Fixed version (ground truth):
public Integer addVesselSchedule(VesselSchedules vesselSchedules);
Program: 144412
Project: 144412
Buggy source:
@Override public List<VesselSchedules> findVesselScheduleByVoyageNumber(String voyageNumber){
  log.debug("String_Node_Str");
  try {
    Query query=getSessionFactory().getCurrentSession().createQuery("String_Node_Str");
    query.setParameter("String_Node_Str",voyageNumber);
    List<VesselSchedules> results=(List<VesselSchedules>)query.list();
    log.debug("String_Node_Str" + results.size());
    return results;
  }
 catch (  Exception e) {
    log.error("String_Node_Str");
    throw e;
  }
}

Fixed version (ground truth):
@Override public List<VesselSchedules> findVesselScheduleByVoyageNumber(String voyageNumber){
  log.debug("String_Node_Str");
  try {
    Query query=getSessionFactory().getCurrentSession().createQuery("String_Node_Str");
    query.setParameter("String_Node_Str",voyageNumber);
    List<VesselSchedules> results=(List<VesselSchedules>)query.list();
    log.debug("String_Node_Str" + results.size());
    return results;
  }
 catch (  RuntimeException e) {
    log.error("String_Node_Str");
    throw e;
  }
}
Program: 144413
Project: 144413
Buggy source:
@Override public void addVesselSchedule(VesselSchedules vesselSchedules){
  log.debug("String_Node_Str");
  try {
    Session session=getSessionFactory().getCurrentSession();
    session.save(vesselSchedules);
    log.debug("String_Node_Str");
  }
 catch (  Exception e) {
    log.error("String_Node_Str",e);
    throw e;
  }
}

Fixed version (ground truth):
@Override public Integer addVesselSchedule(VesselSchedules vesselSchedules){
  log.debug("String_Node_Str");
  try {
    Session session=getSessionFactory().getCurrentSession();
    Integer vesselScheduleId=(Integer)session.save(vesselSchedules);
    log.debug("String_Node_Str");
    return vesselScheduleId;
  }
 catch (  RuntimeException e) {
    log.error("String_Node_Str",e);
    throw e;
  }
}
Program: 144415
Project: 144415
Buggy source:
public String addVesselSchedule(){
  System.out.println("String_Node_Str");
  try {
    VesselSchedules entity=transformToVesselScheduleEntityBean(vesselSchedule);
    entity.setCreatedBy(commonUtils.getUserNameFromSession());
    entity.setCreatedTimestamp(new Date());
    entity.setModifiedBy(commonUtils.getUserNameFromSession());
    entity.setModifiedTimestamp(new Date());
    vesselSchedulesService.addVesselSchedule(entity);
  }
 catch (  Exception e) {
    addFieldError("String_Node_Str",getText("String_Node_Str"));
    return INPUT;
  }
  Integer vendorIdPass=(transformToVesselScheduleEntityBean(vesselSchedule).getVendorId());
  Map sessionAttributes=ActionContext.getContext().getSession();
  sessionAttributes.put("String_Node_Str",vendorIdPass);
  sessionAttributes.put("String_Node_Str",sessionAttributes.get("String_Node_Str"));
  sessionAttributes.put("String_Node_Str",orderItemIdParam);
  return SUCCESS;
}

Fixed version (ground truth):
public String addVesselSchedule(){
  try {
    VesselSchedules entity=transformToVesselScheduleEntityBean(vesselSchedule);
    entity.setCreatedBy(commonUtils.getUserNameFromSession());
    entity.setCreatedTimestamp(new Date());
    entity.setModifiedBy(commonUtils.getUserNameFromSession());
    entity.setModifiedTimestamp(new Date());
    vesselSchedulesService.addVesselSchedule(entity);
  }
 catch (  VesselSchedulesAlreadyExistsException e) {
    addFieldError("String_Node_Str",getText("String_Node_Str"));
    return INPUT;
  }
  Integer vendorIdPass=(transformToVesselScheduleEntityBean(vesselSchedule).getVendorId());
  Map sessionAttributes=ActionContext.getContext().getSession();
  sessionAttributes.put("String_Node_Str",vendorIdPass);
  sessionAttributes.put("String_Node_Str",sessionAttributes.get("String_Node_Str"));
  sessionAttributes.put("String_Node_Str",orderItemIdParam);
  return SUCCESS;
}
Program: 144416
Project: 144416
Buggy source:
public String addVesselSchedule(){
  System.out.println("String_Node_Str");
  try {
    VesselSchedules entity=transformToVesselScheduleEntityBean(vesselSchedule);
    entity.setCreatedBy(commonUtils.getUserNameFromSession());
    entity.setCreatedTimestamp(new Date());
    entity.setModifiedBy(commonUtils.getUserNameFromSession());
    entity.setModifiedTimestamp(new Date());
    vesselSchedulesService.addVesselSchedule(entity);
  }
 catch (  Exception e) {
    addFieldError("String_Node_Str","String_Node_Str");
    return INPUT;
  }
  Integer vendorIdPass=(transformToVesselScheduleEntityBean(vesselSchedule).getVendorId());
  Map sessionAttributes=ActionContext.getContext().getSession();
  sessionAttributes.put("String_Node_Str",vendorIdPass);
  sessionAttributes.put("String_Node_Str",sessionAttributes.get("String_Node_Str"));
  sessionAttributes.put("String_Node_Str",orderItemIdParam);
  return SUCCESS;
}

Fixed version (ground truth):
public String addVesselSchedule(){
  System.out.println("String_Node_Str");
  try {
    VesselSchedules entity=transformToVesselScheduleEntityBean(vesselSchedule);
    entity.setCreatedBy(commonUtils.getUserNameFromSession());
    entity.setCreatedTimestamp(new Date());
    entity.setModifiedBy(commonUtils.getUserNameFromSession());
    entity.setModifiedTimestamp(new Date());
    vesselSchedulesService.addVesselSchedule(entity);
  }
 catch (  Exception e) {
    addFieldError("String_Node_Str",getText("String_Node_Str"));
    return INPUT;
  }
  Integer vendorIdPass=(transformToVesselScheduleEntityBean(vesselSchedule).getVendorId());
  Map sessionAttributes=ActionContext.getContext().getSession();
  sessionAttributes.put("String_Node_Str",vendorIdPass);
  sessionAttributes.put("String_Node_Str",sessionAttributes.get("String_Node_Str"));
  sessionAttributes.put("String_Node_Str",orderItemIdParam);
  return SUCCESS;
}
Program: 144418
Project: 144418
Buggy source:
public String deleteConsigneeContact(){
  Contacts contactEntity=customerService.findContactById(consigneeContactCodeParam);
  customerService.deleteContact(contactEntity);
  Map sessionAttributes=ActionContext.getContext().getSession();
  sessionAttributes.put("String_Node_Str",contactCodeParam);
  sessionAttributes.put("String_Node_Str",addressIdParam);
  return SUCCESS;
}

Fixed version (ground truth):
public String deleteConsigneeContact(){
  Map sessionAttributes=ActionContext.getContext().getSession();
  Contacts consigneeContactEntity=customerService.findContactById(consigneeContactCodeParam);
  List<Orders> consigneeContactInBookingList=orderService.findConsigneeContactInBooking(consigneeContactCodeParam);
  if (consigneeContactInBookingList.size() > 0) {
    Contacts contactEntity=customerService.findContactById(contactCodeParam);
    Address addressEntity=customerService.findAddressById(addressIdParam);
    consignee=transformToFormBeanConsignee(addressEntity,contactEntity);
    List<Contacts> contactEntityList=customerService.findContactByConsignee(contactEntity.getContactId(),"String_Node_Str",getClientId());
    for (    Contacts contactElem : contactEntityList) {
      contacts.add(transformToFormBeanContacts(contactElem));
    }
    clearErrorsAndMessages();
    addActionError("String_Node_Str");
    return INPUT;
  }
  customerService.deleteContact(consigneeContactEntity);
  sessionAttributes.put("String_Node_Str",contactCodeParam);
  sessionAttributes.put("String_Node_Str",addressIdParam);
  return SUCCESS;
}
Program: 144419
Project: 144419
Buggy source:
public String deleteItem(){
  Items itemEntity=customerService.findItemByCustomerItemsId(customersItemIdParam);
  customerService.deleteItem(itemEntity);
  return SUCCESS;
}

Fixed version (ground truth):
public String deleteItem(){
  Items itemEntity=customerService.findItemByCustomerItemsId(customersItemIdParam);
  List<OrderItems> orderItemsInBooking=orderService.findOrderItemByName(itemEntity.getItemName());
  for (  OrderItems orderItemElem : orderItemsInBooking) {
    Orders orderEntity=orderService.findOrdersById(orderItemElem.getOrderId());
    if (orderEntity.getCustomerId() == itemEntity.getCustomerId()) {
      Integer customerId=getCustomerSessionId();
      List<Items> itemEntityList=customerService.findItemByCustomerId(customerId);
      for (      Items itemsElem : itemEntityList) {
        items.add(transformToFormBeanItem(itemsElem));
      }
      clearErrorsAndMessages();
      addActionError("String_Node_Str");
      return INPUT;
    }
  }
  customerService.deleteItem(itemEntity);
  return SUCCESS;
}
Program: 144420
Project: 144420
Buggy source:
public String deleteContact(){
  Contacts contactEntity=customerService.findContactById(contactCodeParam);
  customerService.deleteContact(contactEntity);
  return SUCCESS;
}

Fixed version (ground truth):
public String deleteContact(){
  Contacts contactEntity=customerService.findContactById(contactCodeParam);
  List<Orders> contactInBookingList=orderService.findContactInBooking(contactCodeParam);
  if (contactInBookingList.size() > 0) {
    Integer customerId=getCustomerSessionId();
    List<Contacts> contactEntityList=customerService.findContactByReferenceId(customerId);
    for (    Contacts contactElem : contactEntityList) {
      contacts.add(transformToFormBeanContacts(contactElem));
    }
    clearErrorsAndMessages();
    addActionError("String_Node_Str");
    return INPUT;
  }
  customerService.deleteContact(contactEntity);
  return SUCCESS;
}
Program: 144422
Project: 144422
Buggy source:
public String addVesselSchedule(){
  try {
    VesselSchedules entity=transformToVesselScheduleEntityBean(vesselSchedule);
    entity.setCreatedBy(commonUtils.getUserNameFromSession());
    entity.setCreatedTimestamp(new Date());
    entity.setModifiedBy(commonUtils.getUserNameFromSession());
    entity.setModifiedTimestamp(new Date());
    vesselSchedulesService.addVesselSchedule(entity);
  }
 catch (  VesselSchedulesAlreadyExistsException e) {
    addFieldError("String_Node_Str",getText("String_Node_Str"));
    return INPUT;
  }
  Integer vendorIdPass=(transformToVesselScheduleEntityBean(vesselSchedule).getVendorId());
  Map sessionAttributes=ActionContext.getContext().getSession();
  sessionAttributes.put("String_Node_Str",vendorIdPass);
  sessionAttributes.put("String_Node_Str",sessionAttributes.get("String_Node_Str"));
  sessionAttributes.put("String_Node_Str",orderItemIdParam);
  return SUCCESS;
}

Fixed version (ground truth):
public String addVesselSchedule() throws Exception {
  validateOnSubmit(vesselSchedule);
  if (hasFieldErrors()) {
    return INPUT;
  }
  try {
    VesselSchedules entity=transformToVesselScheduleEntityBean(vesselSchedule);
    entity.setCreatedBy(commonUtils.getUserNameFromSession());
    entity.setCreatedTimestamp(new Date());
    entity.setModifiedBy(commonUtils.getUserNameFromSession());
    entity.setModifiedTimestamp(new Date());
    vesselSchedulesService.addVesselSchedule(entity);
  }
 catch (  VesselSchedulesAlreadyExistsException e) {
    addFieldError("String_Node_Str",getText("String_Node_Str"));
    return INPUT;
  }
  Integer vendorIdPass=(transformToVesselScheduleEntityBean(vesselSchedule).getVendorId());
  Map sessionAttributes=ActionContext.getContext().getSession();
  sessionAttributes.put("String_Node_Str",vendorIdPass);
  sessionAttributes.put("String_Node_Str",sessionAttributes.get("String_Node_Str"));
  sessionAttributes.put("String_Node_Str",orderItemIdParam);
  return SUCCESS;
}
Program: 144423
Project: 144423
Buggy source:
@Override @Transactional(propagation=Propagation.REQUIRED,readOnly=false) public void addVessel(Vessel vessel) throws VesselAlreadyExistsException {
  if (vesselDao.findDuplicateByVesselNumber(vessel.getVesselNumber()).size() > 0)   throw new VesselAlreadyExistsException(vessel.getVesselNumber());
 else   vesselDao.addVessel(vessel);
}

Fixed version (ground truth):
@Override @Transactional(propagation=Propagation.REQUIRED,readOnly=false) public void addVessel(Vessel vessel) throws VesselAlreadyExistsException {
  if (vesselDao.findVesselByName(vessel.getVesselName()).size() > 0)   throw new VesselAlreadyExistsException(vessel.getVesselName());
 else   vesselDao.addVessel(vessel);
}
Program: 144425
Project: 144425
Buggy source:
@Column(name="String_Node_Str",nullable=false) public String getComments(){
  return this.comments;
}

Fixed version (ground truth):
@Column(name="String_Node_Str") public String getComments(){
  return this.comments;
}
Program: 144426
Project: 144426
Buggy source:
public String deleteConsignee(){
  Contacts contactEntity=customerService.findContactById(contactCodeParam);
  Address addressEntity=customerService.findAddressById(addressIdParam);
  customerService.deleteConsignee(contactEntity,addressEntity);
  return SUCCESS;
}

Fixed version (ground truth):
public String deleteConsignee(){
  Contacts contactEntity=customerService.findContactById(contactCodeParam);
  Address addressEntity=customerService.findAddressById(addressIdParam);
  List<Orders> orderEntityList=orderService.findConsigneeInBooking(contactEntity.getContactId());
  if (orderEntityList.size() > 0) {
    clearErrorsAndMessages();
    addActionError("String_Node_Str");
    return INPUT;
  }
  customerService.deleteConsignee(contactEntity,addressEntity);
  return SUCCESS;
}
Program: 144427
Project: 144427
Buggy source:
public String serviceAccomplishedStatus(){
  Map sessionAttributes=ActionContext.getContext().getSession();
  Orders orderEntity=orderService.findOrdersById(orderIdParam);
  List<OrderItems> orderItemEntityList=new ArrayList<OrderItems>();
  orderItemEntityList=orderStatusLogsService.findAllItemsByOrderId(orderIdParam);
  Integer checkAllStatus=0;
  for (  OrderItems orderItemsElem : orderItemEntityList) {
    if (orderItemsElem.getStatus().equals("String_Node_Str") || orderItemsElem.getStatus().equals("String_Node_Str")) {
      checkAllStatus=checkAllStatus + 1;
    }
  }
  if (orderItemEntityList.size() == checkAllStatus && orderItemEntityList.size() > 1) {
    orderEntity.setOrderStatus("String_Node_Str");
    orderService.updateOrder(orderEntity);
    return SUCCESS;
  }
 else {
    sessionAttributes.put("String_Node_Str",orderIdParam);
    return "String_Node_Str";
  }
}

Fixed version (ground truth):
public String serviceAccomplishedStatus(){
  Map sessionAttributes=ActionContext.getContext().getSession();
  Orders orderEntity=orderService.findOrdersById(orderIdParam);
  List<OrderItems> orderItemEntityList=new ArrayList<OrderItems>();
  orderItemEntityList=orderStatusLogsService.findAllItemsByOrderId(orderIdParam);
  Integer checkAllStatus=0;
  for (  OrderItems orderItemsElem : orderItemEntityList) {
    if (orderItemsElem.getStatus().equals("String_Node_Str") || orderItemsElem.getStatus().equals("String_Node_Str")) {
      checkAllStatus=checkAllStatus + 1;
    }
 else     if (orderItemsElem.getStatus().equals("String_Node_Str")) {
      orderEntity.setOrderStatus("String_Node_Str");
      orderService.updateOrder(orderEntity);
      return SUCCESS;
    }
  }
  if (orderItemEntityList.size() == checkAllStatus && orderItemEntityList.size() > 1) {
    orderEntity.setOrderStatus("String_Node_Str");
    orderService.updateOrder(orderEntity);
    return SUCCESS;
  }
 else {
    sessionAttributes.put("String_Node_Str",orderIdParam);
    return "String_Node_Str";
  }
}
Program: 144431
Project: 144431
Buggy source:
/** 
 * Returns the report definition which will be used to generate the report. In this case, the report will be loaded and parsed from a file contained in this package.
 * @return the loaded and parsed report definition to be used in report generation.
 */
public MasterReport getReportDefinition(){
  try {
    final Class classVar=this.getClass();
    final URL reportDefinitionURL=classVar.getResource("String_Node_Str");
    final ResourceManager resourceManager=new ResourceManager();
    final Resource directly=resourceManager.createDirectly(reportDefinitionURL,MasterReport.class);
    final MasterReport report=(MasterReport)directly.getResource();
    report.setQuery(RELEASE_ORDER);
    return report;
  }
 catch (  ResourceException e) {
    e.printStackTrace();
  }
  return null;
}

Fixed version (ground truth):
/** 
 * Returns the report definition which will be used to generate the report. In this case, the report will be loaded and parsed from a file contained in this package.
 * @return the loaded and parsed report definition to be used in report generation.
 */
public MasterReport getReportDefinition(){
  try {
    final Class classVar=this.getClass();
    final URL reportDefinitionURL=classVar.getResource("String_Node_Str");
    final ResourceManager resourceManager=new ResourceManager();
    final Resource directly=resourceManager.createDirectly(reportDefinitionURL,MasterReport.class);
    return (MasterReport)directly.getResource();
  }
 catch (  ResourceException e) {
    e.printStackTrace();
  }
  return null;
}
Program: 144432
Project: 144432
Buggy source:
/** 
 * Returns the data factory which will be used to generate the data used during report generation.
 * @return the data factory used with the report generator
 */
public DataFactory getDataFactory(Map<String,String> params){
  Properties prop=new Properties();
  String propFileName="String_Node_Str";
  InputStream inputStream=getClass().getClassLoader().getResourceAsStream(propFileName);
  try {
    prop.load(inputStream);
  }
 catch (  IOException e) {
    e.printStackTrace();
  }
  final DriverConnectionProvider sampleDriverConnectionProvider=new DriverConnectionProvider();
  sampleDriverConnectionProvider.setDriver(prop.getProperty("String_Node_Str"));
  sampleDriverConnectionProvider.setUrl(prop.getProperty("String_Node_Str"));
  sampleDriverConnectionProvider.setProperty("String_Node_Str",prop.getProperty("String_Node_Str"));
  sampleDriverConnectionProvider.setProperty("String_Node_Str",prop.getProperty("String_Node_Str"));
  String orderId=params.get("String_Node_Str");
  String orderItemId=params.get("String_Node_Str");
  String query="String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str" + orderId + "String_Node_Str"+ "String_Node_Str"+ orderItemId+ "String_Node_Str";
  final SQLReportDataFactory dataFactory=new SQLReportDataFactory(sampleDriverConnectionProvider);
  dataFactory.setQuery(RELEASE_ORDER,query);
  return dataFactory;
}

Fixed version (ground truth):
/** 
 * Returns the data factory which will be used to generate the data used during report generation.
 * @return the data factory used with the report generator
 */
public DataFactory getDataFactory(Map<String,String> whereClauseParameters){
  return null;
}
Program: 144433
Project: 144433
Buggy source:
/** 
 * Returns the set of runtime report parameters. 
 * @return <code>null</code> indicating the report generator does not use any report parameters
 */
public Map<String,Object> getReportParameters(Map<String,String> params){
  return null;
}

Fixed version (ground truth):
/** 
 * Returns the set of runtime report parameters.
 * @return <code>null</code> indicating the report generator does not use any report parameters
 */
public Map<String,Object> getReportParameters(Map<String,String> params){
  final Map parameters=new HashMap<String,Object>();
  parameters.put("String_Node_Str",params.get("String_Node_Str"));
  parameters.put("String_Node_Str",params.get("String_Node_Str"));
  return parameters;
}
Program: 144435
Project: 144435
Buggy source:
public String addVesselSchedule(){
  try {
    VesselSchedules entity=transformToVesselScheduleEntityBean(vesselSchedule);
    entity.setCreatedBy(commonUtils.getUserNameFromSession());
    entity.setCreatedTimestamp(new Date());
    entity.setModifiedBy(commonUtils.getUserNameFromSession());
    entity.setModifiedTimestamp(new Date());
    vesselSchedulesService.addVesselSchedule(entity);
  }
 catch (  Exception e) {
    addFieldError("String_Node_Str","String_Node_Str");
    return INPUT;
  }
  Integer vendorIdPass=(transformToVesselScheduleEntityBean(vesselSchedule).getVendorId());
  Map sessionAttributes=ActionContext.getContext().getSession();
  sessionAttributes.put("String_Node_Str",vendorIdPass);
  sessionAttributes.put("String_Node_Str",sessionAttributes.get("String_Node_Str"));
  return SUCCESS;
}

Fixed version (ground truth):
public String addVesselSchedule(){
  try {
    VesselSchedules entity=transformToVesselScheduleEntityBean(vesselSchedule);
    entity.setCreatedBy(commonUtils.getUserNameFromSession());
    entity.setCreatedTimestamp(new Date());
    entity.setModifiedBy(commonUtils.getUserNameFromSession());
    entity.setModifiedTimestamp(new Date());
    vesselSchedulesService.addVesselSchedule(entity);
  }
 catch (  Exception e) {
    addFieldError("String_Node_Str","String_Node_Str");
    return INPUT;
  }
  Integer vendorIdPass=(transformToVesselScheduleEntityBean(vesselSchedule).getVendorId());
  Map sessionAttributes=ActionContext.getContext().getSession();
  sessionAttributes.put("String_Node_Str",vendorIdPass);
  sessionAttributes.put("String_Node_Str",sessionAttributes.get("String_Node_Str"));
  sessionAttributes.put("String_Node_Str",orderItemIdParam);
  return SUCCESS;
}
Program: 144437
Project: 144437
Buggy source:
public String addGroup(){
  Map sessionAttributes=ActionContext.getContext().getSession();
  this.groupMembers=(List<User>)sessionAttributes.get("String_Node_Str");
  groupService.addGroup(transformToGroupEntityBean(groupBean),groupMembers);
  Integer clientId=(Integer)sessionAttributes.get("String_Node_Str");
  users=userService.findAllUsers(clientId);
  removeMembersFromAllUsersList(groupMembers);
  return SUCCESS;
}

Fixed version (ground truth):
public String addGroup(){
  Map sessionAttributes=ActionContext.getContext().getSession();
  this.groupMembers=(List<User>)sessionAttributes.get("String_Node_Str");
  groupService.addGroup(transformToGroupEntityBean(groupBean),groupMembers);
  Integer clientId=(Integer)sessionAttributes.get("String_Node_Str");
  users=userService.findAllUsers(clientId);
  removeMembersFromAllUsersList(groupMembers);
  viewGroups();
  return SUCCESS;
}
Program: 144438
Project: 144438
Buggy source:
private Contacts transformToEntityBeanContacts(ContactBean contactBean){
  Contacts entity=new Contacts();
  if (contactBean.getContactId() != null) {
    entity.setContactId(contactBean.getContactId());
  }
  entity.setReferenceId(contactBean.getReferenceId());
  entity.setReferenceTable("String_Node_Str");
  entity.setContactType("String_Node_Str");
  entity.setFirstName(contactBean.getFirstName());
  entity.setMiddleName(contactBean.getMiddleName());
  entity.setLastName(contactBean.getLastName());
  entity.setPhone(contactBean.getPhone());
  entity.setMobile(contactBean.getMobile());
  entity.setFax(contactBean.getFax());
  entity.setEmail(contactBean.getEmail());
  entity.setCreatedBy(contactBean.getCreatedBy());
  entity.setCreatedTimestamp(contactBean.getCreatedTimestamp());
  entity.setPosition(contactBean.getPosition());
  return entity;
}

Fixed version (ground truth):
private Contacts transformToEntityBeanContacts(ContactBean contactBean){
  Contacts entity=new Contacts();
  Client client=clientService.findClientById(getClientId().toString());
  entity.setClient(client);
  if (contactBean.getContactId() != null) {
    entity.setContactId(contactBean.getContactId());
  }
  entity.setReferenceId(contactBean.getReferenceId());
  entity.setReferenceTable("String_Node_Str");
  entity.setContactType("String_Node_Str");
  entity.setFirstName(contactBean.getFirstName());
  entity.setMiddleName(contactBean.getMiddleName());
  entity.setLastName(contactBean.getLastName());
  entity.setPhone(contactBean.getPhone());
  entity.setMobile(contactBean.getMobile());
  entity.setFax(contactBean.getFax());
  entity.setEmail(contactBean.getEmail());
  entity.setCreatedBy(contactBean.getCreatedBy());
  entity.setCreatedTimestamp(contactBean.getCreatedTimestamp());
  entity.setPosition(contactBean.getPosition());
  return entity;
}
Program: 144439
Project: 144439
Buggy source:
private Contacts transformToEntityBeanContacts(ContactBean contactBean){
  Contacts entity=new Contacts();
  Client client=clientService.findClientById(getClientId().toString());
  entity.setClient(client);
  if (contactBean.getContactId() != null) {
    entity.setContactId(contactBean.getContactId());
  }
  entity.setReferenceId(contactBean.getReferenceId());
  entity.setReferenceTable("String_Node_Str");
  entity.setContactType("String_Node_Str");
  entity.setFirstName(contactBean.getFirstName());
  entity.setMiddleName(contactBean.getMiddleName());
  entity.setLastName(contactBean.getLastName());
  entity.setPhone(contactBean.getPhone());
  entity.setMobile(contactBean.getMobile());
  entity.setFax(contactBean.getFax());
  entity.setEmail(contactBean.getEmail());
  entity.setCreatedBy(contactBean.getCreatedBy());
  entity.setCreatedTimestamp(contactBean.getCreatedTimestamp());
  entity.setPosition(contactBean.getPosition());
  return entity;
}

Fixed version (ground truth):
private Contacts transformToEntityBeanContacts(ContactBean contactBean){
  Contacts entity=new Contacts();
  if (contactBean.getContactId() != null) {
    entity.setContactId(contactBean.getContactId());
  }
  entity.setReferenceId(contactBean.getReferenceId());
  entity.setReferenceTable("String_Node_Str");
  entity.setContactType("String_Node_Str");
  entity.setFirstName(contactBean.getFirstName());
  entity.setMiddleName(contactBean.getMiddleName());
  entity.setLastName(contactBean.getLastName());
  entity.setPhone(contactBean.getPhone());
  entity.setMobile(contactBean.getMobile());
  entity.setFax(contactBean.getFax());
  entity.setEmail(contactBean.getEmail());
  entity.setCreatedBy(contactBean.getCreatedBy());
  entity.setCreatedTimestamp(contactBean.getCreatedTimestamp());
  entity.setPosition(contactBean.getPosition());
  return entity;
}
Program: 144440
Project: 144440
Buggy source:
public String addConsigneeContact(){
  try {
    Contacts contactEntity=transformToEntityBeanContacts(contact);
    contactEntity.setReferenceTable("String_Node_Str");
    contactEntity.setContactType("String_Node_Str");
    contactEntity.setModifiedBy(commonUtils.getUserNameFromSession());
    contactEntity.setCreatedBy(commonUtils.getUserNameFromSession());
    contactEntity.setCreatedTimestamp(new Date());
    customerService.addContact(contactEntity);
  }
 catch (  ContactAlreadyExistsException e) {
    addFieldError("String_Node_Str",getText("String_Node_Str"));
    return INPUT;
  }
  Map sessionAttributes=ActionContext.getContext().getSession();
  sessionAttributes.put("String_Node_Str",orderIdParam);
  return SUCCESS;
}

Fixed version (ground truth):
public String addConsigneeContact(){
  try {
    Contacts contactEntity=transformToEntityBeanContacts(contact);
    contactEntity.setReferenceTable("String_Node_Str");
    contactEntity.setContactType("String_Node_Str");
    contactEntity.setModifiedBy(commonUtils.getUserNameFromSession());
    contactEntity.setCreatedBy(commonUtils.getUserNameFromSession());
    contactEntity.setCreatedTimestamp(new Date());
    customerService.addContact(contactEntity);
  }
 catch (  ContactAlreadyExistsException e) {
  }
  Map sessionAttributes=ActionContext.getContext().getSession();
  sessionAttributes.put("String_Node_Str",orderIdParam);
  return SUCCESS;
}
Program: 144442
Project: 144442
Buggy source:
public ContainerBean transformContainerToFormBean(Container entity){
  ContainerBean formBean=new ContainerBean();
  formBean.setContainerId(entity.getContainerId());
  formBean.setEirNumber(entity.getEirNumber());
  formBean.setGateInTime(entity.getGateInTime());
  formBean.setGateOutTime(entity.getGateOutTime());
  formBean.setShipping(entity.getShipping());
  formBean.setTrucking(entity.getTrucking());
  formBean.setPlateNumber(entity.getPlateNumber());
  formBean.setVanNumber(entity.getVanNumber());
  formBean.setDriver(entity.getDriver());
  formBean.setOrderNumber(entity.getOrderNumber());
  formBean.setRemarks(entity.getRemarks());
  formBean.setVanTo(entity.getVanTo());
  formBean.setVanFrom(entity.getVanFrom());
  formBean.setContainerNumber(entity.getContainerNumber());
  formBean.setContainerSize(entity.getContainerSize());
  formBean.setContainerType(entity.getContainerType());
  formBean.setContainerStatus(entity.getContainerStatus());
  formBean.setEirType(entity.getEirType());
  formBean.setSealNumber(entity.getSealNumber());
  formBean.setVanLocation(entity.getVanLocation());
  formBean.setLadenEmpty(entity.getLadenEmpty());
  formBean.setReceiptNumber(entity.getReceiptNumber());
  formBean.setLadenEmpty(entity.getLadenEmpty());
  formBean.setForkliftOperator(entity.getForkliftOperator());
  formBean.setOperationsDept(entity.getOperationsDept());
  return formBean;
}

Fixed version (ground truth):
public ContainerBean transformContainerToFormBean(Container entity){
  ContainerBean formBean=new ContainerBean();
  formBean.setContainerId(entity.getContainerId());
  formBean.setEirNumber(entity.getEirNumber());
  formBean.setGateInTime(entity.getGateInTime());
  formBean.setGateOutTime(entity.getGateOutTime());
  formBean.setShipping(entity.getShipping());
  formBean.setTrucking(entity.getTrucking());
  formBean.setPlateNumber(entity.getPlateNumber());
  formBean.setVanNumber(entity.getVanNumber());
  formBean.setDriver(entity.getDriver());
  formBean.setOrderNumber(entity.getOrderNumber());
  formBean.setRemarks(entity.getRemarks());
  formBean.setVanTo(entity.getVanTo());
  formBean.setVanFrom(entity.getVanFrom());
  formBean.setContainerNumber(entity.getContainerNumber());
  formBean.setContainerSize(entity.getContainerSize());
  formBean.setContainerType(entity.getContainerType());
  formBean.setEirType(entity.getEirType());
  formBean.setSealNumber(entity.getSealNumber());
  formBean.setVanLocation(entity.getVanLocation());
  formBean.setLadenEmpty(entity.getLadenEmpty());
  formBean.setReceiptNumber(entity.getReceiptNumber());
  formBean.setLadenEmpty(entity.getLadenEmpty());
  formBean.setForkliftOperator(entity.getForkliftOperator());
  formBean.setOperationsDept(entity.getOperationsDept());
  if ("String_Node_Str".equals(entity.getContainerStatus())) {
    formBean.setContainerStatus("String_Node_Str");
  }
 else   if ("String_Node_Str".equals(entity.getContainerStatus())) {
    formBean.setContainerStatus("String_Node_Str");
  }
 else   if ("String_Node_Str".equals(entity.getContainerStatus())) {
    formBean.setContainerStatus("String_Node_Str");
  }
  return formBean;
}
Program: 144443
Project: 144443
Buggy source:
public OrderBean transformOrdersToFormBean(Orders entity){
  OrderBean formBean=new OrderBean();
  formBean.setOrderId(entity.getOrderId());
  formBean.setOrderDate(entity.getOrderDate());
  formBean.setOrderNumber(entity.getOrderNumber());
  Contacts shipperContactName=customerService.findContactById(entity.getShipperContactId());
  Customer customerName=customerService.findCustomerById(shipperContactName.getReferenceId());
  formBean.setCustomerName((customerName.getCustomerName()));
  Contacts consigneeName=customerService.findContactById(entity.getConsigneeContactId());
  formBean.setConsigneeCode(getFullName(consigneeName.getLastName(),consigneeName.getFirstName(),consigneeName.getMiddleName()));
  formBean.setOriginationPort(entity.getOriginationPort());
  formBean.setDestinationPort(entity.getDestinationPort());
  formBean.setOrderStatus(entity.getOrderStatus());
  formBean.setFreightType(entity.getServiceType());
  formBean.setModeOfService(entity.getServiceMode());
  formBean.setServiceRequirement(entity.getServiceRequirement());
  return formBean;
}

Fixed version (ground truth):
public OrderBean transformOrdersToFormBean(Orders entity){
  OrderBean formBean=new OrderBean();
  formBean.setOrderId(entity.getOrderId());
  formBean.setOrderDate(entity.getOrderDate());
  formBean.setOrderNumber(entity.getOrderNumber());
  Contacts shipperContactName=customerService.findContactById(entity.getShipperContactId());
  Customer customerName=customerService.findCustomerById(shipperContactName.getReferenceId());
  formBean.setCustomerName((customerName.getCustomerName()));
  Contacts consigneeName=customerService.findContactById(entity.getConsigneeContactId());
  formBean.setConsigneeCode(getFullName(consigneeName.getLastName(),consigneeName.getFirstName(),consigneeName.getMiddleName()));
  if (orderService.findOrdersById(entity.getOrderId()).getServiceType().equals("String_Node_Str")) {
    formBean.setOriginationPort("String_Node_Str");
    formBean.setDestinationPort("String_Node_Str");
  }
 else {
    formBean.setOriginationPort(entity.getOriginationPort());
    formBean.setDestinationPort(entity.getDestinationPort());
  }
  formBean.setOriginationPort(entity.getOriginationPort());
  formBean.setDestinationPort(entity.getDestinationPort());
  formBean.setOrderStatus(entity.getOrderStatus());
  formBean.setFreightType(entity.getServiceType());
  formBean.setModeOfService(entity.getServiceMode());
  formBean.setServiceRequirement(entity.getServiceRequirement());
  return formBean;
}
Program: 144444
Project: 144444
Buggy source:
public String activateArchive(){
  Map sessionAttributes=ActionContext.getContext().getSession();
  Orders orderEntity=orderService.findOrdersById(orderIdParam);
  List<Documents> allDocuments=documentsService.findDocumentsByOrderId(orderIdParam);
  for (  Documents documentElem : allDocuments) {
    documentElem.setArchiveStage(1);
    documentsService.updateDocument(documentElem);
  }
  sessionAttributes.put("String_Node_Str",orderIdParam);
  return SUCCESS;
}

Fixed version (ground truth):
public String activateArchive(){
  Map sessionAttributes=ActionContext.getContext().getSession();
  List<Documents> allDocuments=documentsService.findDocumentsByOrderId(orderIdParam);
  for (  Documents documentElem : allDocuments) {
    documentElem.setArchiveStage(1);
    documentsService.updateDocument(documentElem);
  }
  sessionAttributes.put("String_Node_Str",orderIdParam);
  return SUCCESS;
}
Program: 144445
Project: 144445
Buggy source:
public String loadSuccessSetStatus(){
  Map sessionAttributes=ActionContext.getContext().getSession();
  List<OrderStatusLogs> orderStatusLogsEntityList=orderStatusLogsService.findAllShipmentLogs((Integer)sessionAttributes.get("String_Node_Str"));
  Orders orderEntity=orderService.findOrdersById(orderStatusLogsService.findOrderItemById((Integer)sessionAttributes.get("String_Node_Str")).getOrderId());
  order=transformToOrderFormBean(orderEntity);
  OrderItems orderItemEntity=orderStatusLogsService.findOrderItemById((Integer)sessionAttributes.get("String_Node_Str"));
  orderItem=transformToOrderItemFormBean(orderItemEntity);
  for (  OrderStatusLogs orderStatusLogsElem : orderStatusLogsEntityList) {
    orderStatusLogs.add(transformToOrderStatusLogsFormBean(orderStatusLogsElem));
  }
  clearErrorsAndMessages();
  addActionMessage("String_Node_Str");
  return SUCCESS;
}

Fixed version (ground truth):
public String loadSuccessSetStatus(){
  Map sessionAttributes=ActionContext.getContext().getSession();
  Orders orderEntity=orderService.findOrdersById(orderStatusLogsService.findOrderItemById((Integer)sessionAttributes.get("String_Node_Str")).getOrderId());
  order=transformToOrderFormBean(orderEntity);
  OrderItems orderItemEntity=orderStatusLogsService.findOrderItemById((Integer)sessionAttributes.get("String_Node_Str"));
  orderItem=transformToOrderItemFormBean(orderItemEntity);
  List<OrderStatusLogs> orderStatusLogsEntityList=orderStatusLogsService.findAllShipmentLogs((Integer)sessionAttributes.get("String_Node_Str"));
  for (  OrderStatusLogs orderStatusLogsElem : orderStatusLogsEntityList) {
    orderStatusLogs.add(transformToOrderStatusLogsFormBean(orderStatusLogsElem));
  }
  orderStatusLogsBean.setOrderItemId(orderItemEntity.getOrderItemId());
  clearErrorsAndMessages();
  addActionMessage("String_Node_Str");
  return SUCCESS;
}
Program: 144446
Project: 144446
Buggy source:
public OrderStatusLogs transformToOrderStatusLogsEntity(OrderStatusLogsBean formBean){
  OrderStatusLogs entity=new OrderStatusLogs();
  entity.setOrderItemId(formBean.getOrderItemId());
  entity.setOrderId(operationsService.findOrderItemById(formBean.getOrderItemId()).getOrderId());
  entity.setStatus(formBean.getStatus());
  entity.setCreatedBy(formBean.getCreatedBy());
  entity.setCreatedTimestamp(formBean.getCreatedTimestamp());
  entity.setDeliveryDate(formBean.getDeliveryDate());
  entity.setPickupDate(formBean.getPickupDate());
  entity.setDepartureTime(formBean.getDepartureTime());
  entity.setArrivalTime(formBean.getArrivalTime());
  return entity;
}

Fixed version (ground truth):
public OrderStatusLogs transformToOrderStatusLogsEntity(OrderStatusLogsBean formBean){
  OrderStatusLogs entity=new OrderStatusLogs();
  System.out.println("String_Node_Str" + formBean.getOrderItemId());
  entity.setOrderItemId(formBean.getOrderItemId());
  entity.setOrderId(operationsService.findOrderItemById(formBean.getOrderItemId()).getOrderId());
  entity.setStatus(formBean.getStatus());
  entity.setCreatedBy(formBean.getCreatedBy());
  entity.setCreatedTimestamp(formBean.getCreatedTimestamp());
  entity.setDeliveryDate(formBean.getDeliveryDate());
  entity.setPickupDate(formBean.getPickupDate());
  entity.setDepartureTime(formBean.getDepartureTime());
  entity.setArrivalTime(formBean.getArrivalTime());
  return entity;
}
Program: 144447
Project: 144447
Buggy source:
public String loadItemShipmentHistory(){
  Orders orderEntity=orderService.findOrdersById(orderStatusLogsService.findOrderItemById(orderItemIdParam).getOrderId());
  order=transformToOrderFormBean(orderEntity);
  OrderItems orderItemEntity=orderStatusLogsService.findOrderItemById(orderItemIdParam);
  orderItem=transformToOrderItemFormBean(orderItemEntity);
  List<OrderStatusLogs> orderStatusLogsEntityList=new ArrayList<OrderStatusLogs>();
  orderStatusLogsEntityList=orderStatusLogsService.findAllShipmentLogs(orderItemIdParam);
  for (  OrderStatusLogs orderStatusLogsElem : orderStatusLogsEntityList) {
    orderStatusLogs.add(transformToOrderStatusLogsFormBean(orderStatusLogsElem));
  }
  return SUCCESS;
}

Fixed version (ground truth):
public String loadItemShipmentHistory(){
  Orders orderEntity=orderService.findOrdersById(orderStatusLogsService.findOrderItemById(orderItemIdParam).getOrderId());
  order=transformToOrderFormBean(orderEntity);
  OrderItems orderItemEntity=orderStatusLogsService.findOrderItemById(orderItemIdParam);
  orderItem=transformToOrderItemFormBean(orderItemEntity);
  List<OrderStatusLogs> orderStatusLogsEntityList=new ArrayList<OrderStatusLogs>();
  orderStatusLogsEntityList=orderStatusLogsService.findAllShipmentLogs(orderItemIdParam);
  for (  OrderStatusLogs orderStatusLogsElem : orderStatusLogsEntityList) {
    orderStatusLogs.add(transformToOrderStatusLogsFormBean(orderStatusLogsElem));
  }
  Map sessionAttributes=ActionContext.getContext().getSession();
  sessionAttributes.put("String_Node_Str",orderItemIdParam);
  return SUCCESS;
}
Program: 144448
Project: 144448
Buggy source:
public String setItemStatus(){
  OrderStatusLogs orderStatusLogsEntity=transformToOrderStatusLogsEntity(orderStatusLogsBean);
  Map sessionAttributes=ActionContext.getContext().getSession();
  sessionAttributes.put("String_Node_Str",orderStatusLogsEntity.getOrderItemId());
  orderStatusLogsEntity.setCreatedBy(commonUtils.getUserNameFromSession());
  orderStatusLogsService.addStatus(orderStatusLogsEntity);
  return SUCCESS;
}

Fixed version (ground truth):
public String setItemStatus(){
  Map sessionAttributes=ActionContext.getContext().getSession();
  OrderStatusLogs orderStatusLogsEntity=transformToOrderStatusLogsEntity(orderStatusLogsBean);
  sessionAttributes.put("String_Node_Str",orderStatusLogsEntity.getOrderItemId());
  orderStatusLogsEntity.setCreatedBy(commonUtils.getUserNameFromSession());
  orderStatusLogsService.addStatus(orderStatusLogsEntity);
  return SUCCESS;
}
Program: 144449
Project: 144449
Buggy source:
public String viewDocumentList(){
  List<Documents> documentsList=new ArrayList<Documents>();
  documentsList=documentsService.findDocumentsByOrderId(orderIdParam);
  for (  Documents documentElem : documentsList) {
    documents.add(transformDocumentToFormBean(documentElem));
  }
  return SUCCESS;
}

Fixed version (ground truth):
public String viewDocumentList(){
  List<Documents> documentsList=new ArrayList<Documents>();
  documentsList=documentsService.findDocumentsByOrderId(orderIdParam);
  for (  Documents documentElem : documentsList) {
    if ("String_Node_Str".equals(documentElem.getDocumentName())) {
      documents.add(transformDocumentToFormBean(documentElem));
    }
  }
  return SUCCESS;
}
Program: 144450
Project: 144450
Buggy source:
public OrderStatusLogsBean transformToOrderStatusLogsFormBean(OrderStatusLogs entity){
  OrderStatusLogsBean formBean=new OrderStatusLogsBean();
  formBean.setCreatedDate(entity.getCreatedTimestamp());
  formBean.setCreatedTime(entity.getCreatedTimestamp());
  formBean.setStatus(entity.getStatus());
  formBean.setCreatedBy(entity.getCreatedBy());
  formBean.setNameSize(orderService.findOrderItemByOrderItemId(entity.getOrderItemId()).getNameSize());
  formBean.setOrderItemId(entity.getOrderItemId());
  return formBean;
}

Fixed version (ground truth):
public OrderStatusLogsBean transformToOrderStatusLogsFormBean(OrderStatusLogs entity){
  OrderStatusLogsBean formBean=new OrderStatusLogsBean();
  formBean.setCreatedTimestamp(entity.getCreatedTimestamp());
  formBean.setStatus(entity.getStatus());
  formBean.setCreatedBy(entity.getCreatedBy());
  formBean.setNameSize(orderService.findOrderItemByOrderItemId(entity.getOrderItemId()).getNameSize());
  formBean.setOrderItemId(entity.getOrderItemId());
  return formBean;
}
Program: 144451
Project: 144451
Buggy source:
public OrderItemsBean(Integer orderItemId,Integer orderId,Integer quantity,String classification,String description,Double declaredValue,Double weight,String remarks,Float rate,Date createdTimeStamp,String createdBy,Date modifiedTimeStamp,String modifiedBy,String nameSize,String status,Float volume,Integer clientId,String commodity,String comments,String vendorSea,String vendorOrigin,String vendorDestination,String finalPickupDate,String driverOrigin,String driverDestination,String truckOrigin,String truckDestination,String vesselScheduleId){
  this.orderItemId=orderItemId;
  this.orderId=orderId;
  this.quantity=quantity;
  this.classification=classification;
  this.description=description;
  this.declaredValue=declaredValue;
  this.weight=weight;
  this.remarks=remarks;
  this.rate=rate;
  this.createdTimeStamp=createdTimeStamp;
  this.createdBy=createdBy;
  this.modifiedTimeStamp=modifiedTimeStamp;
  this.modifiedBy=modifiedBy;
  this.nameSize=nameSize;
  this.status=status;
  this.volume=volume;
  this.clientId=clientId;
  this.commodity=commodity;
  this.comments=comments;
  this.vendorSea=vendorSea;
  this.vendorOrigin=vendorOrigin;
  this.vendorDestination=vendorDestination;
  this.finalPickupDate=finalPickupDate;
  this.driverOrigin=driverOrigin;
  this.driverDestination=driverDestination;
  this.truckOrigin=truckOrigin;
  this.truckDestination=truckDestination;
  this.vesselScheduleId=vesselScheduleId;
}

Fixed version (ground truth):
public OrderItemsBean(Integer orderItemId,Integer orderId,Integer quantity,String classification,String description,Double declaredValue,Double weight,String remarks,Float rate,Date createdTimeStamp,String createdBy,Date modifiedTimeStamp,String modifiedBy,String nameSize,String status,Float volume,Integer clientId,String commodity,String comments,String vendorSea,String vesselName,String vendorOrigin,String vendorDestination,String finalPickupDate,String driverOrigin,String driverDestination,String truckOrigin,String truckDestination,String vesselScheduleId){
  this.orderItemId=orderItemId;
  this.orderId=orderId;
  this.quantity=quantity;
  this.classification=classification;
  this.description=description;
  this.declaredValue=declaredValue;
  this.weight=weight;
  this.remarks=remarks;
  this.rate=rate;
  this.createdTimeStamp=createdTimeStamp;
  this.createdBy=createdBy;
  this.modifiedTimeStamp=modifiedTimeStamp;
  this.modifiedBy=modifiedBy;
  this.nameSize=nameSize;
  this.status=status;
  this.volume=volume;
  this.clientId=clientId;
  this.commodity=commodity;
  this.comments=comments;
  this.vendorSea=vendorSea;
  this.vesselName=vesselName;
  this.vendorOrigin=vendorOrigin;
  this.vendorDestination=vendorDestination;
  this.finalPickupDate=finalPickupDate;
  this.driverOrigin=driverOrigin;
  this.driverDestination=driverDestination;
  this.truckOrigin=truckOrigin;
  this.truckDestination=truckDestination;
  this.vesselScheduleId=vesselScheduleId;
}
Program: 144455
Project: 144455
Buggy source:
public Container(Integer containerId,String eirType,String eirNumber,String portCode,String receiptNumber,Date dateTime,String shipping,String trucking,String plateNumber,String vanNumber,String driver,String bookingNum,String orderNumber,String remarks,String vanTo,String vanFrom,String createdBy,Date createdTimestamp,String modifiedBy,Date modifiedTimestamp,String containerNumber,String containerSize,String containerType,String sealNumber,String vanLocation,String ladenEmpty,String containerStatus,String forkliftOperator,String operationsDept){
  this.containerId=containerId;
  this.eirType=eirType;
  this.eirNumber=eirNumber;
  this.portCode=portCode;
  this.receiptNumber=receiptNumber;
  this.dateTime=dateTime;
  this.shipping=shipping;
  this.trucking=trucking;
  this.plateNumber=plateNumber;
  this.vanNumber=vanNumber;
  this.driver=driver;
  this.bookingNum=bookingNum;
  this.orderNumber=orderNumber;
  this.remarks=remarks;
  this.vanTo=vanTo;
  this.vanFrom=vanFrom;
  this.createdBy=createdBy;
  this.createdTimestamp=createdTimestamp;
  this.modifiedBy=modifiedBy;
  this.modifiedTimestamp=modifiedTimestamp;
  this.containerNumber=containerNumber;
  this.containerSize=containerSize;
  this.containerType=containerType;
  this.sealNumber=sealNumber;
  this.vanLocation=vanLocation;
  this.ladenEmpty=ladenEmpty;
  this.containerStatus=containerStatus;
  this.forkliftOperator=forkliftOperator;
  this.operationsDept=operationsDept;
}

Fixed version (ground truth):
public Container(Integer containerId,Client clientId,String eirType,String eirNumber,String portCode,String receiptNumber,Date dateTime,String shipping,String trucking,String plateNumber,String vanNumber,String driver,String orderNumber,String remarks,String vanTo,String vanFrom,String createdBy,Date createdTimestamp,String modifiedBy,Date modifiedTimestamp,String containerNumber,String containerSize,String containerType,String sealNumber,String vanLocation,String ladenEmpty,String containerStatus,String forkliftOperator,String operationsDept){
  this.containerId=containerId;
  this.clientId=clientId;
  this.eirType=eirType;
  this.eirNumber=eirNumber;
  this.portCode=portCode;
  this.receiptNumber=receiptNumber;
  this.dateTime=dateTime;
  this.shipping=shipping;
  this.trucking=trucking;
  this.plateNumber=plateNumber;
  this.vanNumber=vanNumber;
  this.driver=driver;
  this.orderNumber=orderNumber;
  this.remarks=remarks;
  this.vanTo=vanTo;
  this.vanFrom=vanFrom;
  this.createdBy=createdBy;
  this.createdTimestamp=createdTimestamp;
  this.modifiedBy=modifiedBy;
  this.modifiedTimestamp=modifiedTimestamp;
  this.containerNumber=containerNumber;
  this.containerSize=containerSize;
  this.containerType=containerType;
  this.sealNumber=sealNumber;
  this.vanLocation=vanLocation;
  this.ladenEmpty=ladenEmpty;
  this.containerStatus=containerStatus;
  this.forkliftOperator=forkliftOperator;
  this.operationsDept=operationsDept;
}