Program: 147757
Project: 147757
Buggy source:
public String getText(Object element){
  WSWhereCondition wc=(WSWhereCondition)element;
  String text=wc.getLeftPath() + "String_Node_Str";
  if (wc.getOperator().equals(WSWhereOperator.CONTAINS))   text+="String_Node_Str";
 else   if (wc.getOperator().equals(WSWhereOperator.EQUALS))   text+="String_Node_Str";
 else   if (wc.getOperator().equals(WSWhereOperator.GREATER_THAN))   text+="String_Node_Str";
 else   if (wc.getOperator().equals(WSWhereOperator.GREATER_THAN_OR_EQUAL))   text+="String_Node_Str";
 else   if (wc.getOperator().equals(WSWhereOperator.JOIN))   text+="String_Node_Str";
 else   if (wc.getOperator().equals(WSWhereOperator.LOWER_THAN))   text+="String_Node_Str";
 else   if (wc.getOperator().equals(WSWhereOperator.LOWER_THAN_OR_EQUAL))   text+="String_Node_Str";
 else   if (wc.getOperator().equals(WSWhereOperator.NOT_EQUALS))   text+="String_Node_Str";
 else   if (wc.getOperator().equals(WSWhereOperator.STARTSWITH))   text+="String_Node_Str";
 else   if (wc.getOperator().equals(WSWhereOperator.STRICTCONTAINS))   text+="String_Node_Str";
 else   if (wc.getOperator().equals(WSWhereOperator.EMPTY_NULL))   text+="String_Node_Str";
  text+="String_Node_Str";
  if (!wc.getOperator().equals(WSWhereOperator.JOIN))   text+="String_Node_Str";
  text+=wc.getRightValueOrPath();
  if (!wc.getOperator().equals(WSWhereOperator.JOIN))   text+="String_Node_Str";
  text+="String_Node_Str";
  if (wc.getStringPredicate().equals(WSStringPredicate.AND))   text+="String_Node_Str";
 else   if (wc.getStringPredicate().equals(WSStringPredicate.EXACTLY))   text+="String_Node_Str";
 else   if (wc.getStringPredicate().equals(WSStringPredicate.NONE))   text+="String_Node_Str";
 else   if (wc.getStringPredicate().equals(WSStringPredicate.NOT))   text+="String_Node_Str";
 else   if (wc.getStringPredicate().equals(WSStringPredicate.OR))   text+="String_Node_Str";
 else   if (wc.getStringPredicate().equals(WSStringPredicate.STRICTAND))   text+="String_Node_Str";
  return text;
}

Fixed version (ground truth):
public String getText(Object element){
  WSWhereCondition wc=(WSWhereCondition)element;
  String text=wc.getLeftPath() + "String_Node_Str";
  if (wc.getOperator().equals(WSWhereOperator.CONTAINS))   text+="String_Node_Str";
 else   if (wc.getOperator().equals(WSWhereOperator.CONTAINS_TEXT_OF))   text+="String_Node_Str";
 else   if (wc.getOperator().equals(WSWhereOperator.EQUALS))   text+="String_Node_Str";
 else   if (wc.getOperator().equals(WSWhereOperator.GREATER_THAN))   text+="String_Node_Str";
 else   if (wc.getOperator().equals(WSWhereOperator.GREATER_THAN_OR_EQUAL))   text+="String_Node_Str";
 else   if (wc.getOperator().equals(WSWhereOperator.JOIN))   text+="String_Node_Str";
 else   if (wc.getOperator().equals(WSWhereOperator.LOWER_THAN))   text+="String_Node_Str";
 else   if (wc.getOperator().equals(WSWhereOperator.LOWER_THAN_OR_EQUAL))   text+="String_Node_Str";
 else   if (wc.getOperator().equals(WSWhereOperator.NOT_EQUALS))   text+="String_Node_Str";
 else   if (wc.getOperator().equals(WSWhereOperator.STARTSWITH))   text+="String_Node_Str";
 else   if (wc.getOperator().equals(WSWhereOperator.STRICTCONTAINS))   text+="String_Node_Str";
 else   if (wc.getOperator().equals(WSWhereOperator.EMPTY_NULL))   text+="String_Node_Str";
  text+="String_Node_Str";
  if (!wc.getOperator().equals(WSWhereOperator.JOIN))   text+="String_Node_Str";
  text+=wc.getRightValueOrPath();
  if (!wc.getOperator().equals(WSWhereOperator.JOIN))   text+="String_Node_Str";
  text+="String_Node_Str";
  if (wc.getStringPredicate().equals(WSStringPredicate.AND))   text+="String_Node_Str";
 else   if (wc.getStringPredicate().equals(WSStringPredicate.EXACTLY))   text+="String_Node_Str";
 else   if (wc.getStringPredicate().equals(WSStringPredicate.NONE))   text+="String_Node_Str";
 else   if (wc.getStringPredicate().equals(WSStringPredicate.NOT))   text+="String_Node_Str";
 else   if (wc.getStringPredicate().equals(WSStringPredicate.OR))   text+="String_Node_Str";
 else   if (wc.getStringPredicate().equals(WSStringPredicate.STRICTAND))   text+="String_Node_Str";
  return text;
}