nus-yam/ex-repair huggingface dataset:
Program: 172413
Project: 172413
Buggy source:
@NonNull @Override public UUID addEventListener(@NonNull String name,@NonNull ElectrodeBridgeEventListener<ElectrodeBridgeEvent> eventListener){
  Logger.d(TAG,"String_Node_Str",eventListener,name);
  return mEventRegistrar.registerEventListener(name,eventListener);
}

Fixed version (ground truth):
@NonNull @Override public UUID addEventListener(@NonNull String name,@NonNull ElectrodeBridgeEventListener<ElectrodeBridgeEvent> eventListener){
  Logger.d(TAG,"String_Node_Str",eventListener,name);
  return sEventRegistrar.registerEventListener(name,eventListener);
}
Program: 172414
Project: 172414
Buggy source:
private void completeTransaction(@NonNull final BridgeTransaction transaction){
  if (transaction.getResponse() == null) {
    throw new IllegalArgumentException("String_Node_Str");
  }
  Logger.d(TAG,"String_Node_Str",transaction.getId());
  pendingTransactions.remove(transaction.getId());
  final ElectrodeBridgeResponse response=transaction.getResponse();
  logResponse(response);
  if (transaction.isJsInitiated()) {
    Logger.d(TAG,"String_Node_Str");
    mReactContextWrapper.emitEvent(response);
  }
 else {
    if (transaction.getFinalResponseListener() != null) {
      if (response.getFailureMessage() != null) {
        Logger.d(TAG,"String_Node_Str");
        mReactContextWrapper.runOnUiQueueThread(new Runnable(){
          @Override public void run(){
            transaction.getFinalResponseListener().onFailure(response.getFailureMessage());
          }
        }
);
      }
 else {
        Logger.d(TAG,"String_Node_Str");
        mReactContextWrapper.runOnUiQueueThread(new Runnable(){
          @Override public void run(){
            transaction.getFinalResponseListener().onSuccess(response);
          }
        }
);
      }
    }
 else {
      throw new IllegalArgumentException("String_Node_Str");
    }
  }
}

Fixed version (ground truth):
private void completeTransaction(@NonNull final BridgeTransaction transaction){
  if (transaction.getResponse() == null) {
    throw new IllegalArgumentException("String_Node_Str");
  }
  Logger.d(TAG,"String_Node_Str",transaction.getId());
  sPendingTransactions.remove(transaction.getId());
  final ElectrodeBridgeResponse response=transaction.getResponse();
  logResponse(response);
  if (transaction.isJsInitiated()) {
    Logger.d(TAG,"String_Node_Str");
    mReactContextWrapper.emitEvent(response);
  }
 else {
    if (transaction.getFinalResponseListener() != null) {
      if (response.getFailureMessage() != null) {
        Logger.d(TAG,"String_Node_Str");
        mReactContextWrapper.runOnUiQueueThread(new Runnable(){
          @Override public void run(){
            transaction.getFinalResponseListener().onFailure(response.getFailureMessage());
          }
        }
);
      }
 else {
        Logger.d(TAG,"String_Node_Str");
        mReactContextWrapper.runOnUiQueueThread(new Runnable(){
          @Override public void run(){
            transaction.getFinalResponseListener().onSuccess(response);
          }
        }
);
      }
    }
 else {
      throw new IllegalArgumentException("String_Node_Str");
    }
  }
}
Program: 172415
Project: 172415
Buggy source:
/** 
 * Called whenever a request matching this handler is received
 * @param payload          The payload of the request as a Bundle, payload can be null for a request.
 * @param responseListener An instance of {@link ElectrodeBridgeResponseListener}
 */
void onRequest(@Nullable TReq payload,@NonNull ElectrodeBridgeResponseListener<TResp> responseListener);

Fixed version (ground truth):
/** 
 * Called whenever a request matching this handler is received
 * @param payload          The payload of the request, payload can be null for a request.
 * @param responseListener An instance of {@link ElectrodeBridgeResponseListener}
 */
void onRequest(@Nullable TReq payload,@NonNull ElectrodeBridgeResponseListener<TResp> responseListener);
Program: 172416
Project: 172416
Buggy source:
@Override public void execute(){
  Logger.d(TAG,"String_Node_Str",requestName);
  Bundle data=BridgeArguments.generateDataBundle(requestPayload);
  ElectrodeBridgeRequest req=new ElectrodeBridgeRequest.Builder(requestName).withData(data).build();
  ElectrodeBridgeHolder.sendRequest(req,new ElectrodeBridgeResponseListener<Bundle>(){
    @Override public void onFailure(    @NonNull FailureMessage failureMessage){
      responseListener.onFailure(failureMessage);
    }
    @Override public void onSuccess(    @Nullable Bundle responseData){
      TResp response=(TResp)BridgeArguments.generateObject(responseData,responseType);
      if (response instanceof List && !((List)response).isEmpty() && !responseType.getClass().isAssignableFrom(((List)response).get(0).getClass())&& Number.class.isAssignableFrom(((List)response).get(0).getClass())&& Number.class.isAssignableFrom(responseType)) {
        response=(TResp)updateResponse((List)response);
      }
      runValidationForListResponse(response);
      Logger.d(TAG,"String_Node_Str",response,requestName);
      responseListener.onSuccess(response);
    }
  }
);
}

Fixed version (ground truth):
@Override public void execute(){
  Logger.d(TAG,"String_Node_Str",requestName);
  Bundle data=BridgeArguments.generateDataBundle(requestPayload);
  ElectrodeBridgeRequest req=new ElectrodeBridgeRequest.Builder(requestName).withData(data).build();
  ElectrodeBridgeHolder.sendRequest(req,new ElectrodeBridgeResponseListener<Bundle>(){
    @Override public void onFailure(    @NonNull FailureMessage failureMessage){
      responseListener.onFailure(failureMessage);
    }
    @Override public void onSuccess(    @Nullable Bundle responseData){
      TResp response=(TResp)BridgeArguments.generateObject(responseData,getResponseType(responseType));
      response=preOnSuccess(response);
      Logger.d(TAG,"String_Node_Str",response,requestName);
      responseListener.onSuccess(response);
    }
  }
);
}
Program: 172417
Project: 172417
Buggy source:
@Override public void onSuccess(@Nullable Bundle responseData){
  TResp response=(TResp)BridgeArguments.generateObject(responseData,responseType);
  if (response instanceof List && !((List)response).isEmpty() && !responseType.getClass().isAssignableFrom(((List)response).get(0).getClass())&& Number.class.isAssignableFrom(((List)response).get(0).getClass())&& Number.class.isAssignableFrom(responseType)) {
    response=(TResp)updateResponse((List)response);
  }
  runValidationForListResponse(response);
  Logger.d(TAG,"String_Node_Str",response,requestName);
  responseListener.onSuccess(response);
}

Fixed version (ground truth):
@Override public void onSuccess(@Nullable Bundle responseData){
  TResp response=(TResp)BridgeArguments.generateObject(responseData,getResponseType(responseType));
  response=preOnSuccess(response);
  Logger.d(TAG,"String_Node_Str",response,requestName);
  responseListener.onSuccess(response);
}
Program: 172418
Project: 172418
Buggy source:
/** 
 * Looks for an entry with key =   {@link BridgeMessage#BRIDGE_MSG_DATA} inside the bundle and then tries to convert the value to either a primitive wrapper or {@link Bridgeable}
 * @param payload     {@link Bundle}
 * @param returnClass {@link Class}
 * @return T
 */
@Nullable public static Object generateObject(@Nullable Bundle payload,@NonNull Class<?> returnClass){
  if (payload == null || payload.isEmpty()) {
    return null;
  }
  Object data=payload.get(BridgeMessage.BRIDGE_MSG_DATA);
  if (data == null) {
    Logger.d(TAG,"String_Node_Str",BridgeMessage.BRIDGE_MSG_DATA,payload);
    return null;
  }
  Object response;
  if (isArray(data)) {
    response=getList(data,returnClass);
  }
 else   if (data instanceof Bundle) {
    response=objectFromBundle((Bundle)data,returnClass);
  }
 else   if (returnClass.isAssignableFrom(data.getClass()) && isSupportedPrimitiveType(data.getClass())) {
    response=data;
  }
 else {
    throw new IllegalArgumentException("String_Node_Str" + data.getClass() + "String_Node_Str");
  }
  return response;
}

Fixed version (ground truth):
/** 
 * Looks for an entry with key =   {@link BridgeMessage#BRIDGE_MSG_DATA} inside the bundle and then tries to convert the value to either a primitive wrapper or {@link Bridgeable}
 * @param payload     {@link Bundle}
 * @param returnClass {@link Class}
 * @return T
 */
@Nullable public static Object generateObject(@Nullable Bundle payload,@NonNull Class<?> returnClass){
  if (payload == null || payload.isEmpty()) {
    return null;
  }
  Object data=payload.get(BridgeMessage.BRIDGE_MSG_DATA);
  if (data == null) {
    Logger.d(TAG,"String_Node_Str",BridgeMessage.BRIDGE_MSG_DATA,payload);
    return null;
  }
  Object response;
  if (isArray(data)) {
    response=getList(data,returnClass);
  }
 else   if (data instanceof Bundle) {
    response=objectFromBundle((Bundle)data,returnClass);
  }
 else   if (isSupportedPrimitiveType(data.getClass())) {
    response=data;
  }
 else {
    throw new IllegalArgumentException("String_Node_Str" + data.getClass() + "String_Node_Str"+ returnClass);
  }
  return response;
}
Program: 172419
Project: 172419
Buggy source:
/** 
 * Called whenever a request matching this handler is received
 * @param payload          The payload of the request as a Bundle, payload can be null for a request.
 * @param responseListener An instance of {@link ElectrodeBridgeResponseListener}
 */
void onRequest(@Nullable TReq payload,@NonNull ElectrodeBridgeResponseListener<TResp> responseListener);

Fixed version (ground truth):
/** 
 * Called whenever a request matching this handler is received
 * @param payload          The payload of the request, payload can be null for a request.
 * @param responseListener An instance of {@link ElectrodeBridgeResponseListener}
 */
void onRequest(@Nullable TReq payload,@NonNull ElectrodeBridgeResponseListener<TResp> responseListener);
Program: 172420
Project: 172420
Buggy source:
@Override public void execute(){
  Logger.d(TAG,"String_Node_Str",requestName);
  Bundle data=BridgeArguments.generateDataBundle(requestPayload);
  ElectrodeBridgeRequest req=new ElectrodeBridgeRequest.Builder(requestName).withData(data).build();
  ElectrodeBridgeHolder.sendRequest(req,new ElectrodeBridgeResponseListener<Bundle>(){
    @Override public void onFailure(    @NonNull FailureMessage failureMessage){
      responseListener.onFailure(failureMessage);
    }
    @Override public void onSuccess(    @Nullable Bundle responseData){
      TResp response=(TResp)BridgeArguments.generateObject(responseData,responseType);
      if (response instanceof List && !((List)response).isEmpty() && !responseType.getClass().isAssignableFrom(((List)response).get(0).getClass())&& Number.class.isAssignableFrom(((List)response).get(0).getClass())&& Number.class.isAssignableFrom(responseType)) {
        response=(TResp)updateResponse((List)response);
      }
      runValidationForListResponse(response);
      Logger.d(TAG,"String_Node_Str",response,requestName);
      responseListener.onSuccess(response);
    }
  }
);
}

Fixed version (ground truth):
@Override public void execute(){
  Logger.d(TAG,"String_Node_Str",requestName);
  Bundle data=BridgeArguments.generateDataBundle(requestPayload);
  ElectrodeBridgeRequest req=new ElectrodeBridgeRequest.Builder(requestName).withData(data).build();
  ElectrodeBridgeHolder.sendRequest(req,new ElectrodeBridgeResponseListener<Bundle>(){
    @Override public void onFailure(    @NonNull FailureMessage failureMessage){
      responseListener.onFailure(failureMessage);
    }
    @Override public void onSuccess(    @Nullable Bundle responseData){
      TResp response=(TResp)BridgeArguments.generateObject(responseData,getResponseType(responseType));
      response=preOnSuccess(response);
      Logger.d(TAG,"String_Node_Str",response,requestName);
      responseListener.onSuccess(response);
    }
  }
);
}
Program: 172421
Project: 172421
Buggy source:
@Override public void onSuccess(@Nullable Bundle responseData){
  TResp response=(TResp)BridgeArguments.generateObject(responseData,responseType);
  if (response instanceof List && !((List)response).isEmpty() && !responseType.getClass().isAssignableFrom(((List)response).get(0).getClass())&& Number.class.isAssignableFrom(((List)response).get(0).getClass())&& Number.class.isAssignableFrom(responseType)) {
    response=(TResp)updateResponse((List)response);
  }
  runValidationForListResponse(response);
  Logger.d(TAG,"String_Node_Str",response,requestName);
  responseListener.onSuccess(response);
}

Fixed version (ground truth):
@Override public void onSuccess(@Nullable Bundle responseData){
  TResp response=(TResp)BridgeArguments.generateObject(responseData,getResponseType(responseType));
  response=preOnSuccess(response);
  Logger.d(TAG,"String_Node_Str",response,requestName);
  responseListener.onSuccess(response);
}
Program: 172422
Project: 172422
Buggy source:
/** 
 * Looks for an entry with key =   {@link BridgeMessage#BRIDGE_MSG_DATA} inside the bundle and then tries to convert the value to either a primitive wrapper or {@link Bridgeable}
 * @param payload     {@link Bundle}
 * @param returnClass {@link Class}
 * @return T
 */
@Nullable public static Object generateObject(@Nullable Bundle payload,@NonNull Class<?> returnClass){
  if (payload == null || payload.isEmpty()) {
    return null;
  }
  Object data=payload.get(BridgeMessage.BRIDGE_MSG_DATA);
  if (data == null) {
    Logger.d(TAG,"String_Node_Str",BridgeMessage.BRIDGE_MSG_DATA,payload);
    return null;
  }
  Object response;
  if (isArray(data)) {
    response=getList(data,returnClass);
  }
 else   if (data instanceof Bundle) {
    response=objectFromBundle((Bundle)data,returnClass);
  }
 else   if (returnClass.isAssignableFrom(data.getClass()) && isSupportedPrimitiveType(data.getClass())) {
    response=data;
  }
 else {
    throw new IllegalArgumentException("String_Node_Str" + data.getClass() + "String_Node_Str");
  }
  return response;
}

Fixed version (ground truth):
/** 
 * Looks for an entry with key =   {@link BridgeMessage#BRIDGE_MSG_DATA} inside the bundle and then tries to convert the value to either a primitive wrapper or {@link Bridgeable}
 * @param payload     {@link Bundle}
 * @param returnClass {@link Class}
 * @return T
 */
@Nullable public static Object generateObject(@Nullable Bundle payload,@NonNull Class<?> returnClass){
  if (payload == null || payload.isEmpty()) {
    return null;
  }
  Object data=payload.get(BridgeMessage.BRIDGE_MSG_DATA);
  if (data == null) {
    Logger.d(TAG,"String_Node_Str",BridgeMessage.BRIDGE_MSG_DATA,payload);
    return null;
  }
  Object response;
  if (isArray(data)) {
    response=getList(data,returnClass);
  }
 else   if (data instanceof Bundle) {
    response=objectFromBundle((Bundle)data,returnClass);
  }
 else   if (isSupportedPrimitiveType(data.getClass())) {
    response=data;
  }
 else {
    throw new IllegalArgumentException("String_Node_Str" + data.getClass() + "String_Node_Str"+ returnClass);
  }
  return response;
}
Program: 172423
Project: 172423
Buggy source:
@Override public void onRequest(@Nullable String payload,@NonNull ElectrodeBridgeResponseListener<Integer> responseListener){
  assertNotNull(payload);
  assertNotNull(responseListener);
  responseListener.onSuccess(30);
  countDownLatch.countDown();
}

Fixed version (ground truth):
@Override public void onRequest(@Nullable None payload,@NonNull ElectrodeBridgeResponseListener<Person> responseListener){
  assertNull(payload);
  countDownLatch.countDown();
}
Program: 172424
Project: 172424
Buggy source:
/** 
 * Looks for an entry with key =   {@link BridgeMessage#BRIDGE_MSG_DATA} inside the bundle and then tries to convert the value to either a primitive wrapper or {@link Bridgeable}
 * @param payload     {@link Bundle}
 * @param returnClass {@link Class}
 * @param < T >         return type
 * @return T
 */
@Nullable public static <T>T generateObject(@Nullable Bundle payload,@NonNull Class<T> returnClass){
  T response=null;
  if (payload != null && !payload.isEmpty()) {
    String key=BridgeMessage.BRIDGE_MSG_DATA;
    if (payload.get(key) == null) {
      throw new IllegalArgumentException("String_Node_Str" + key + "String_Node_Str"+ payload);
    }
    if (Bridgeable.class.isAssignableFrom(returnClass)) {
      if (payload.getBundle(key) == null) {
        throw new IllegalArgumentException("String_Node_Str" + key + "String_Node_Str");
      }
      response=BridgeArguments.bridgeableFromBundle(payload.getBundle(key),returnClass);
    }
 else {
      response=(T)BridgeArguments.getPrimitiveFromBundle(payload,returnClass);
    }
  }
  return response;
}

Fixed version (ground truth):
/** 
 * Looks for an entry with key =   {@link BridgeMessage#BRIDGE_MSG_DATA} inside the bundle and then tries to convert the value to either a primitive wrapper or {@link Bridgeable}
 * @param payload     {@link Bundle}
 * @param returnClass {@link Class}
 * @param < T >         return type
 * @return T
 */
@Nullable public static <T>T generateObject(@Nullable Bundle payload,@NonNull Class<T> returnClass){
  T response=null;
  if (payload != null && !payload.isEmpty()) {
    String key=BridgeMessage.BRIDGE_MSG_DATA;
    if (payload.get(key) == null) {
      Logger.d(TAG,"String_Node_Str",key,payload);
      return null;
    }
    if (Bridgeable.class.isAssignableFrom(returnClass)) {
      if (payload.getBundle(key) == null) {
        throw new IllegalArgumentException("String_Node_Str" + key + "String_Node_Str");
      }
      response=BridgeArguments.bridgeableFromBundle(payload.getBundle(key),returnClass);
    }
 else {
      response=(T)BridgeArguments.getPrimitiveFromBundle(payload,returnClass);
    }
  }
  return response;
}
Program: 172425
Project: 172425
Buggy source:
private void getFirstWriteResults(List<WriteResponse.CHOICE> mmsResponseValues,List<BasicDataAttribute> totalBdasToBeWritten,int[] numBdas,int i,FcModelNode fcModelNode,Data mmsData){
  WriteResponse.CHOICE writeResult=getWriteResult(fcModelNode,mmsData);
  if (writeResult == null) {
    FcModelNode fcModelNodeCopy=(FcModelNode)fcModelNode.copy();
    try {
      fcModelNodeCopy.setValueFromMmsDataObj(mmsData);
    }
 catch (    ServiceError e) {
      logger.warn("String_Node_Str",e);
      WriteResponse.CHOICE writeResponseChoice=new WriteResponse.CHOICE();
      writeResponseChoice.setFailure(new DataAccessError(serviceErrorToMmsError(e)));
      mmsResponseValues.add(writeResponseChoice);
      return;
    }
    if (fcModelNodeCopy.fc == Fc.CO) {
      fcModelNodeCopy=(BasicDataAttribute)fcModelNodeCopy.getChild("String_Node_Str");
    }
 else {
    }
    List<BasicDataAttribute> bdas=fcModelNodeCopy.getBasicDataAttributes();
    totalBdasToBeWritten.addAll(bdas);
    numBdas[i]=bdas.size();
    mmsResponseValues.add(null);
  }
 else {
    mmsResponseValues.add(writeResult);
  }
}

Fixed version (ground truth):
private void getFirstWriteResults(List<WriteResponse.CHOICE> mmsResponseValues,List<BasicDataAttribute> totalBdasToBeWritten,int[] numBdas,int i,FcModelNode fcModelNode,Data mmsData){
  WriteResponse.CHOICE writeResult=getWriteResult(fcModelNode,mmsData);
  if (writeResult == null) {
    FcModelNode fcModelNodeCopy=(FcModelNode)fcModelNode.copy();
    try {
      fcModelNodeCopy.setValueFromMmsDataObj(mmsData);
    }
 catch (    ServiceError e) {
      logger.warn("String_Node_Str",e);
      WriteResponse.CHOICE writeResponseChoice=new WriteResponse.CHOICE();
      writeResponseChoice.setFailure(new DataAccessError(serviceErrorToMmsError(e)));
      mmsResponseValues.add(writeResponseChoice);
      return;
    }
    if (fcModelNodeCopy.fc == Fc.CO) {
      fcModelNodeCopy=(FcModelNode)fcModelNodeCopy.getChild("String_Node_Str");
    }
 else {
    }
    List<BasicDataAttribute> bdas=fcModelNodeCopy.getBasicDataAttributes();
    totalBdasToBeWritten.addAll(bdas);
    numBdas[i]=bdas.size();
    mmsResponseValues.add(null);
  }
 else {
    mmsResponseValues.add(writeResult);
  }
}
Program: 172426
Project: 172426
Buggy source:
public long getTimestampValue(){
  if (value.length != 6) {
    return -1;
  }
  return ((value[0] & 0xffl) << 24) + ((value[1] & 0xffl) << 16) + ((value[2] & 0xffl) << 8)+ (value[3] & 0xffl)+ (((value[4] & 0xffl) << 8) + (value[5] & 0xffl)) * 86400000l;
}

Fixed version (ground truth):
public long getTimestampValue(){
  if (value.length != 6) {
    return -1;
  }
  return (((value[0] & 0xffl) << 24) + ((value[1] & 0xffl) << 16) + ((value[2] & 0xffl) << 8)+ (value[3] & 0xffl)+ (((value[4] & 0xffl) << 8) + (value[5] & 0xffl)) * 86400000l) + 441763200000l;
}
Program: 172427
Project: 172427
Buggy source:
private boolean decodeGetFileDirectoryResponse(ConfirmedServiceResponse confirmedServiceResponse,List<FileInformation> files) throws ServiceError {
  if (confirmedServiceResponse.getFileDirectory() == null) {
    throw new ServiceError(ServiceError.FAILED_DUE_TO_COMMUNICATIONS_CONSTRAINT,"String_Node_Str");
  }
  FileDirectoryResponse fileDirectoryRes=confirmedServiceResponse.getFileDirectory();
  List<DirectoryEntry> entries=fileDirectoryRes.getListOfDirectoryEntry().getDirectoryEntry();
  for (  DirectoryEntry entry : entries) {
    List<BerGraphicString> graphicStrings=entry.getFileName().getBerGraphicString();
    StringBuilder filename=new StringBuilder();
    for (    BerGraphicString bgs : graphicStrings) {
      filename.append(bgs.toString());
    }
    long fileSize=entry.getFileAttributes().getSizeOfFile().longValue();
    Calendar lastModified;
    try {
      lastModified=entry.getFileAttributes().getLastModified().asCalendar();
    }
 catch (    ParseException e) {
      throw new ServiceError(ServiceError.FAILED_DUE_TO_COMMUNICATIONS_CONSTRAINT,"String_Node_Str");
    }
    FileInformation fileInfo=new FileInformation(filename.toString(),fileSize,lastModified);
    files.add(fileInfo);
  }
  boolean moreFollows=(fileDirectoryRes.getMoreFollows() == null) ? false : fileDirectoryRes.getMoreFollows().value;
  return moreFollows;
}

Fixed version (ground truth):
private boolean decodeGetFileDirectoryResponse(ConfirmedServiceResponse confirmedServiceResponse,List<FileInformation> files) throws ServiceError {
  if (confirmedServiceResponse.getFileDirectory() == null) {
    throw new ServiceError(ServiceError.FAILED_DUE_TO_COMMUNICATIONS_CONSTRAINT,"String_Node_Str");
  }
  FileDirectoryResponse fileDirectoryRes=confirmedServiceResponse.getFileDirectory();
  List<DirectoryEntry> entries=fileDirectoryRes.getListOfDirectoryEntry().getDirectoryEntry();
  for (  DirectoryEntry entry : entries) {
    List<BerGraphicString> graphicStrings=entry.getFileName().getBerGraphicString();
    StringBuilder filename=new StringBuilder();
    for (    BerGraphicString bgs : graphicStrings) {
      filename.append(bgs.toString());
    }
    long fileSize=entry.getFileAttributes().getSizeOfFile().longValue();
    Calendar lastModified=null;
    try {
      if (entry.getFileAttributes().getLastModified() != null)       lastModified=entry.getFileAttributes().getLastModified().asCalendar();
    }
 catch (    ParseException e) {
      throw new ServiceError(ServiceError.FAILED_DUE_TO_COMMUNICATIONS_CONSTRAINT,"String_Node_Str");
    }
    FileInformation fileInfo=new FileInformation(filename.toString(),fileSize,lastModified);
    files.add(fileInfo);
  }
  boolean moreFollows=(fileDirectoryRes.getMoreFollows() == null) ? false : fileDirectoryRes.getMoreFollows().value;
  return moreFollows;
}
Program: 172428
Project: 172428
Buggy source:
public Calendar getLastModified(){
  return lastModified;
}

Fixed version (ground truth):
/** 
 * Get the time stamp of last modification. As it is an optional attribute the return value can be null
 * @return the time stamp of last modification, or null if the time stamp is not present
 */
public Calendar getLastModified(){
  return lastModified;
}
Program: 172430
Project: 172430
Buggy source:
void addDataSet(DataSet dataSet){
  dataSets.put(dataSet.getReferenceStr(),dataSet);
  for (  ModelNode ld : children.values()) {
    for (    ModelNode ln : ld.getChildren()) {
      for (      Urcb urcb : ((LogicalNode)ln).getUrcbs()) {
        urcb.dataSet=getDataSet(urcb.getDatSet().getStringValue().replace('$','.'));
      }
      for (      Brcb brcb : ((LogicalNode)ln).getBrcbs()) {
        brcb.dataSet=getDataSet(brcb.getDatSet().getStringValue().replace('$','.'));
      }
    }
  }
}

Fixed version (ground truth):
void addDataSet(DataSet dataSet){
  dataSets.put(dataSet.getReferenceStr().replace('$','.'),dataSet);
  for (  ModelNode ld : children.values()) {
    for (    ModelNode ln : ld.getChildren()) {
      for (      Urcb urcb : ((LogicalNode)ln).getUrcbs()) {
        urcb.dataSet=getDataSet(urcb.getDatSet().getStringValue().replace('$','.'));
      }
      for (      Brcb brcb : ((LogicalNode)ln).getBrcbs()) {
        brcb.dataSet=getDataSet(brcb.getDatSet().getStringValue().replace('$','.'));
      }
    }
  }
}
Program: 172431
Project: 172431
Buggy source:
/** 
 * Listens for a new PDU and writes it into the given buffer. Decodes all ACSE and lower layer headers. The resulting buffer's position points to the beginning of the ACSE SDU. The limit will point to the byte after the last byte of the ACSE SDU.
 * @param pduBuffer buffer to write the received pdu into
 * @throws DecodingException if a decoding error occurs
 * @throws IOException if a non recoverable error occurs. Afterwards the association should be closed by the user
 * @throws TimeoutException if a timeout occurs
 */
public void receive(ByteBuffer pduBuffer) throws DecodingException, IOException, TimeoutException {
  if (connected == false) {
    throw new IllegalStateException("String_Node_Str");
  }
  tConnection.receive(pduBuffer);
  decodeSessionLayer(pduBuffer);
  decodePresentationLayer(pduBuffer);
}

Fixed version (ground truth):
/** 
 * Listens for a new PDU and writes it into the given buffer. Decodes all ACSE and lower layer headers. The resulting buffer's position points to the beginning of the ACSE SDU. The limit will point to the byte after the last byte of the ACSE SDU.
 * @param pduBuffer buffer to write the received pdu into
 * @throws DecodingException if a decoding error occurs
 * @throws IOException if a non recoverable error occurs. Afterwards the association should be closed by the user
 * @throws TimeoutException if a timeout occurs
 */
public byte[] receive(ByteBuffer pduBuffer) throws DecodingException, IOException, TimeoutException {
  if (connected == false) {
    throw new IllegalStateException("String_Node_Str");
  }
  tConnection.receive(pduBuffer);
  decodeSessionLayer(pduBuffer);
  return decodePresentationLayer(pduBuffer);
}
Program: 172432
Project: 172432
Buggy source:
private void decodePresentationLayer(ByteBuffer pduBuffer) throws DecodingException {
  UserData user_data=new UserData();
  try {
    user_data.decode(new ByteBufferInputStream(pduBuffer),null);
  }
 catch (  IOException e) {
    throw new DecodingException("String_Node_Str",e);
  }
}

Fixed version (ground truth):
private byte[] decodePresentationLayer(ByteBuffer pduBuffer) throws DecodingException {
  UserData user_data=new UserData();
  try {
    user_data.decode(new ByteBufferInputStream(pduBuffer),null);
  }
 catch (  IOException e) {
    throw new DecodingException("String_Node_Str",e);
  }
  return user_data.getFullyEncodedData().getPDVList().get(0).getPresentationDataValues().getSingleASN1Type().value;
}
Program: 172433
Project: 172433
Buggy source:
private void encodePresentationLayer(ByteBuffer payload,List<byte[]> ssduList,List<Integer> ssduOffsets,List<Integer> ssduLengths) throws IOException {
  PDVList pdv_list=new PDVList();
  pdv_list.setPresentationContextIdentifier(new PresentationContextIdentifier(3l));
  PDVList.PresentationDataValues presentationDataValues=new PDVList.PresentationDataValues();
  presentationDataValues.setSingleASN1Type(new BerAny(Arrays.copyOfRange(payload.array(),payload.position(),payload.limit())));
  pdv_list.setPresentationDataValues(presentationDataValues);
  FullyEncodedData fully_encoded_data=new FullyEncodedData();
  List<PDVList> pdv_list_list=fully_encoded_data.getPDVList();
  pdv_list_list.add(pdv_list);
  UserData user_data=new UserData();
  user_data.setFullyEncodedData(fully_encoded_data);
  BerByteArrayOutputStream berOStream=new BerByteArrayOutputStream(200,true);
  user_data.encode(berOStream);
  ssduList.add(berOStream.buffer);
  ssduOffsets.add(berOStream.index + 1);
  ssduLengths.add(berOStream.buffer.length - (berOStream.index + 1));
  ssduList.add(payload.array());
  ssduOffsets.add(payload.arrayOffset() + payload.position());
  ssduLengths.add(payload.limit() - payload.position());
}

Fixed version (ground truth):
private void encodePresentationLayer(ByteBuffer payload,List<byte[]> ssduList,List<Integer> ssduOffsets,List<Integer> ssduLengths) throws IOException {
  PDVList pdv_list=new PDVList();
  pdv_list.setPresentationContextIdentifier(new PresentationContextIdentifier(3l));
  PDVList.PresentationDataValues presentationDataValues=new PDVList.PresentationDataValues();
  presentationDataValues.setSingleASN1Type(new BerAny(Arrays.copyOfRange(payload.array(),payload.position(),payload.limit())));
  pdv_list.setPresentationDataValues(presentationDataValues);
  FullyEncodedData fully_encoded_data=new FullyEncodedData();
  List<PDVList> pdv_list_list=fully_encoded_data.getPDVList();
  pdv_list_list.add(pdv_list);
  UserData user_data=new UserData();
  user_data.setFullyEncodedData(fully_encoded_data);
  BerByteArrayOutputStream berOStream=new BerByteArrayOutputStream(200,true);
  user_data.encode(berOStream);
  ssduList.add(berOStream.buffer);
  ssduOffsets.add(berOStream.index + 1);
  ssduLengths.add(berOStream.buffer.length - (berOStream.index + 1));
}
Program: 172434
Project: 172434
Buggy source:
private MMSpdu listenForMmsRequest(AcseAssociation acseAssociation){
  while (true) {
    MMSpdu mmsRequestPdu=null;
    pduBuffer.clear();
    try {
      acseAssociation.receive(pduBuffer);
    }
 catch (    EOFException e) {
      logger.debug("String_Node_Str");
      return null;
    }
catch (    SocketTimeoutException e) {
      logger.warn("String_Node_Str",e);
      return null;
    }
catch (    IOException e) {
      logger.warn("String_Node_Str",e);
      return null;
    }
catch (    DecodingException e) {
      logger.error("String_Node_Str",e);
      continue;
    }
catch (    TimeoutException e) {
      logger.error("String_Node_Str",e);
      return null;
    }
    mmsRequestPdu=new MMSpdu();
    try {
      mmsRequestPdu.decode(new ByteBufferInputStream(pduBuffer),null);
    }
 catch (    IOException e) {
      logger.warn("String_Node_Str",e);
      continue;
    }
    if (mmsRequestPdu.getConfirmedRequestPDU() == null) {
      if (mmsRequestPdu.getConcludeRequestPDU() != null) {
        logger.debug("String_Node_Str");
        return null;
      }
 else {
        logger.warn("String_Node_Str");
        continue;
      }
    }
    return mmsRequestPdu;
  }
}

Fixed version (ground truth):
private MMSpdu listenForMmsRequest(AcseAssociation acseAssociation){
  while (true) {
    MMSpdu mmsRequestPdu=null;
    byte[] buffer;
    pduBuffer.clear();
    try {
      buffer=acseAssociation.receive(pduBuffer);
    }
 catch (    EOFException e) {
      logger.debug("String_Node_Str");
      return null;
    }
catch (    SocketTimeoutException e) {
      logger.warn("String_Node_Str",e);
      return null;
    }
catch (    IOException e) {
      logger.warn("String_Node_Str",e);
      return null;
    }
catch (    DecodingException e) {
      logger.error("String_Node_Str",e);
      continue;
    }
catch (    TimeoutException e) {
      logger.error("String_Node_Str",e);
      return null;
    }
    mmsRequestPdu=new MMSpdu();
    try {
      mmsRequestPdu.decode(new ByteArrayInputStream(buffer),null);
    }
 catch (    IOException e) {
      logger.warn("String_Node_Str",e);
      continue;
    }
    if (mmsRequestPdu.getConfirmedRequestPDU() == null) {
      if (mmsRequestPdu.getConcludeRequestPDU() != null) {
        logger.debug("String_Node_Str");
        return null;
      }
 else {
        logger.warn("String_Node_Str");
        continue;
      }
    }
    return mmsRequestPdu;
  }
}
Program: 172435
Project: 172435
Buggy source:
@Path("String_Node_Str") @PUT @RequestBody(name="String_Node_Str",description="String_Node_Str",content=@Content(mediaType="String_Node_Str",schema=@Schema(implementation=User.class),examples=@ExampleObject(name="String_Node_Str",summary="String_Node_Str",value="String_Node_Str"))) @Operation(summary="String_Node_Str",description="String_Node_Str",operationId="String_Node_Str") @APIResponses(value={@APIResponse(responseCode="String_Node_Str",description="String_Node_Str",content=@Content(schema=@Schema(name="String_Node_Str",implementation=User.class),encoding=@Encoding(name="String_Node_Str",contentType="String_Node_Str",style="String_Node_Str",allowReserved=true,explode=true,headers=@Header(ref="String_Node_Str")))),@APIResponse(responseCode="String_Node_Str",description="String_Node_Str"),@APIResponse(responseCode="String_Node_Str",description="String_Node_Str")}) @Tag(ref="String_Node_Str") public Response updateUser(@Parameter(name="String_Node_Str",description="String_Node_Str",schema=@Schema(type=SchemaType.STRING),required=true) @PathParam("String_Node_Str") String username,User user){
  userData.addUser(user);
  return Response.ok().entity("String_Node_Str").build();
}

Fixed version (ground truth):
@Path("String_Node_Str") @PUT @RequestBody(name="String_Node_Str",description="String_Node_Str",content=@Content(mediaType="String_Node_Str",schema=@Schema(implementation=User.class),examples=@ExampleObject(name="String_Node_Str",summary="String_Node_Str",value="String_Node_Str"))) @Operation(summary="String_Node_Str",description="String_Node_Str",operationId="String_Node_Str") @APIResponses(value={@APIResponse(responseCode="String_Node_Str",description="String_Node_Str",content=@Content(schema=@Schema(ref="String_Node_Str"),encoding=@Encoding(name="String_Node_Str",contentType="String_Node_Str",style="String_Node_Str",allowReserved=true,explode=true,headers=@Header(ref="String_Node_Str")))),@APIResponse(responseCode="String_Node_Str",description="String_Node_Str"),@APIResponse(responseCode="String_Node_Str",description="String_Node_Str")}) @Tag(ref="String_Node_Str") public Response updateUser(@Parameter(name="String_Node_Str",description="String_Node_Str",schema=@Schema(type=SchemaType.STRING),required=true) @PathParam("String_Node_Str") String username,User user){
  userData.addUser(user);
  return Response.ok().entity("String_Node_Str").build();
}
Program: 172436
Project: 172436
Buggy source:
@POST @SecurityRequirement(name="String_Node_Str",scopes={"String_Node_Str","String_Node_Str"}) @Callback(name="String_Node_Str",callbackUrlExpression="String_Node_Str",operations=@CallbackOperation(method="String_Node_Str",summary="String_Node_Str",responses={@APIResponse(responseCode="String_Node_Str",description="String_Node_Str",content=@Content(schema=@Schema(type=SchemaType.ARRAY,implementation=Booking.class))),@APIResponse(responseCode="String_Node_Str",description="String_Node_Str")})) @APIResponse(responseCode="String_Node_Str",description="String_Node_Str",content=@Content(schema=@Schema(name="String_Node_Str",description="String_Node_Str",type=SchemaType.STRING))) @Operation(summary="String_Node_Str",description="String_Node_Str",operationId="String_Node_Str") @Consumes("String_Node_Str") @Produces("String_Node_Str") public Response createBooking(@RequestBody(description="String_Node_Str",content=@Content(mediaType="String_Node_Str",schema=@Schema(implementation=Booking.class),examples=@ExampleObject(name="String_Node_Str",summary="String_Node_Str",externalValue="String_Node_Str"))) Booking task){
  bookings.put(currentId,task);
  return Response.status(Status.CREATED).entity("String_Node_Str" + currentId++ + "String_Node_Str").build();
}

Fixed version (ground truth):
@POST @SecurityRequirement(name="String_Node_Str",scopes={"String_Node_Str","String_Node_Str"}) @Callback(name="String_Node_Str",callbackUrlExpression="String_Node_Str",operations=@CallbackOperation(method="String_Node_Str",summary="String_Node_Str",responses={@APIResponse(responseCode="String_Node_Str",description="String_Node_Str",content=@Content(schema=@Schema(type=SchemaType.ARRAY,implementation=Booking.class))),@APIResponse(responseCode="String_Node_Str",description="String_Node_Str")})) @APIResponse(responseCode="String_Node_Str",description="String_Node_Str",content=@Content(schema=@Schema(name="String_Node_Str",description="String_Node_Str",type=SchemaType.STRING))) @Operation(summary="String_Node_Str",description="String_Node_Str",operationId="String_Node_Str") @Consumes("String_Node_Str") @Produces("String_Node_Str") public Response createBooking(@RequestBody(description="String_Node_Str",content=@Content(mediaType="String_Node_Str",schema=@Schema(ref="String_Node_Str"),examples=@ExampleObject(name="String_Node_Str",summary="String_Node_Str",externalValue="String_Node_Str"))) Booking task){
  bookings.put(currentId,task);
  return Response.status(Status.CREATED).entity("String_Node_Str" + currentId++ + "String_Node_Str").build();
}
Program: 172437
Project: 172437
Buggy source:
@RunAsClient @Test(dataProvider="String_Node_Str") public void testCallbackOperationAnnotations(String type){
  ValidatableResponse vr=callEndpoint(type);
  String endpoint="String_Node_Str";
  vr.body(endpoint,hasKey("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  endpoint="String_Node_Str";
  vr.body(endpoint,hasKey("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
}

Fixed version (ground truth):
@RunAsClient @Test(dataProvider="String_Node_Str") public void testCallbackOperationAnnotations(String type){
  ValidatableResponse vr=callEndpoint(type);
  String endpoint="String_Node_Str";
  vr.body(endpoint,hasKey("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  endpoint="String_Node_Str";
  vr.body(endpoint,hasKey("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(endpoint + "String_Node_Str",notNullValue());
}
Program: 172438
Project: 172438
Buggy source:
@RunAsClient @Test(dataProvider="String_Node_Str") public void testSchema(String type){
  ValidatableResponse vr=callEndpoint(type);
  String createSchema="String_Node_Str";
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body(createSchema + "String_Node_Str",equalTo(true));
  vr.body(createSchema + "String_Node_Str",equalTo(true));
  vr.body("String_Node_Str",equalTo(1024));
  vr.body("String_Node_Str",equalTo(1));
  vr.body("String_Node_Str",hasItems("String_Node_Str","String_Node_Str","String_Node_Str"));
  vr.body(createSchema + "String_Node_Str",equalTo(20));
  vr.body(createSchema + "String_Node_Str",equalTo(2));
  vr.body(createSchema + "String_Node_Str",equalTo(true));
}

Fixed version (ground truth):
@RunAsClient @Test(dataProvider="String_Node_Str") public void testSchema(String type){
  ValidatableResponse vr=callEndpoint(type);
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo("String_Node_Str"));
  vr.body("String_Node_Str",equalTo(1024));
  vr.body("String_Node_Str",equalTo(1));
  vr.body("String_Node_Str",hasItems("String_Node_Str","String_Node_Str","String_Node_Str"));
  String createSchema="String_Node_Str";
  vr.body(createSchema + "String_Node_Str",equalTo(true));
  vr.body(createSchema + "String_Node_Str",equalTo(true));
  vr.body(createSchema + "String_Node_Str",equalTo(20));
  vr.body(createSchema + "String_Node_Str",equalTo(2));
  vr.body(createSchema + "String_Node_Str",equalTo(true));
}
Program: 172439
Project: 172439
Buggy source:
@RunAsClient @Test(dataProvider="String_Node_Str") public void testContentInAPIResponse(String type){
  ValidatableResponse vr=callEndpoint(type);
  String content1="String_Node_Str";
  vr.body(content1,notNullValue());
  vr.body(content1 + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(content1 + "String_Node_Str",equalTo("String_Node_Str"));
  String content2="String_Node_Str";
  vr.body(content2,notNullValue());
  vr.body(content2 + "String_Node_Str",notNullValue());
  vr.body(content2 + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(content2 + "String_Node_Str",notNullValue());
  vr.body(content2,notNullValue());
  vr.body(content2 + "String_Node_Str",notNullValue());
  vr.body(content2 + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(content2 + "String_Node_Str",notNullValue());
}

Fixed version (ground truth):
@RunAsClient @Test(dataProvider="String_Node_Str") public void testContentInAPIResponse(String type){
  ValidatableResponse vr=callEndpoint(type);
  String content1="String_Node_Str";
  vr.body(content1,notNullValue());
  vr.body(content1 + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(content1 + "String_Node_Str",notNullValue());
  String content2="String_Node_Str";
  vr.body(content2,notNullValue());
  vr.body(content2 + "String_Node_Str",notNullValue());
  vr.body(content2 + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(content2 + "String_Node_Str",notNullValue());
  vr.body(content2,notNullValue());
  vr.body(content2 + "String_Node_Str",notNullValue());
  vr.body(content2 + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(content2 + "String_Node_Str",notNullValue());
}
Program: 172440
Project: 172440
Buggy source:
@RunAsClient @Test(dataProvider="String_Node_Str") public void testContentInAPIResponse(String type){
  ValidatableResponse vr=callEndpoint(type);
  String content1="String_Node_Str";
  vr.body(content1,notNullValue());
  vr.body(content1 + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(content1 + "String_Node_Str",equalTo("String_Node_Str"));
}

Fixed version (ground truth):
@RunAsClient @Test(dataProvider="String_Node_Str") public void testContentInAPIResponse(String type){
  ValidatableResponse vr=callEndpoint(type);
  String content1="String_Node_Str";
  vr.body(content1,notNullValue());
  vr.body(content1 + "String_Node_Str",equalTo("String_Node_Str"));
  vr.body(content1 + "String_Node_Str",notNullValue());
}
Program: 172441
Project: 172441
Buggy source:
@POST @Path("String_Node_Str") @Tag(ref="String_Node_Str") @Tag(ref="String_Node_Str") @Parameter(name="String_Node_Str",in=ParameterIn.QUERY,description="String_Node_Str",required=true,explode=Explode.FALSE,content=@Content(mediaType="String_Node_Str",schema=@Schema(type=SchemaType.ARRAY,implementation=User.class,nullable=true,writeOnly=true,minItems=2,maxItems=20,uniqueItems=true),encoding=@Encoding(name="String_Node_Str",contentType="String_Node_Str",style="String_Node_Str",allowReserved=true,explode=true))) @APIResponse(responseCode="String_Node_Str",description="String_Node_Str") @APIResponse(responseCode="String_Node_Str",description="String_Node_Str") @Operation(summary="String_Node_Str",operationId="String_Node_Str") public Response createUsersWithArrayInput(@Parameter(description="String_Node_Str",required=true) User[] users){
  for (  User user : users) {
    userData.addUser(user);
  }
  return Response.ok().entity("String_Node_Str").build();
}

Fixed version (ground truth):
@POST @Path("String_Node_Str") @Tag(ref="String_Node_Str") @Tag(ref="String_Node_Str") @APIResponse(responseCode="String_Node_Str",description="String_Node_Str") @APIResponse(responseCode="String_Node_Str",description="String_Node_Str") @Operation(summary="String_Node_Str",operationId="String_Node_Str") public Response createUsersWithArrayInput(@RequestBody(description="String_Node_Str",required=true,content=@Content(mediaType="String_Node_Str",schema=@Schema(type=SchemaType.ARRAY,implementation=User.class,nullable=true,writeOnly=true,minItems=2,maxItems=20,uniqueItems=true),encoding=@Encoding(name="String_Node_Str",contentType="String_Node_Str",style="String_Node_Str",allowReserved=true,explode=true))) User[] users){
  for (  User user : users) {
    userData.addUser(user);
  }
  return Response.ok().entity("String_Node_Str").build();
}
Program: 172442
Project: 172442
Buggy source:
@POST @Path("String_Node_Str") @Tag(ref="String_Node_Str") @Tags(refs="String_Node_Str") @APIResponse(responseCode="String_Node_Str",description="String_Node_Str") @APIResponse(responseCode="String_Node_Str",description="String_Node_Str") @Operation(summary="String_Node_Str",operationId="String_Node_Str") public Response createUsersWithListInput(@Parameter(description="String_Node_Str",required=true) java.util.List<User> users){
  for (  User user : users) {
    userData.addUser(user);
  }
  return Response.ok().entity("String_Node_Str").build();
}

Fixed version (ground truth):
@POST @Path("String_Node_Str") @Tag(ref="String_Node_Str") @Tags(refs="String_Node_Str") @APIResponse(responseCode="String_Node_Str",description="String_Node_Str") @APIResponse(responseCode="String_Node_Str",description="String_Node_Str") @Operation(summary="String_Node_Str",operationId="String_Node_Str") public Response createUsersWithListInput(@RequestBody(description="String_Node_Str",required=true) java.util.List<User> users){
  for (  User user : users) {
    userData.addUser(user);
  }
  return Response.ok().entity("String_Node_Str").build();
}
Program: 172444
Project: 172444
Buggy source:
@Test public void linkTest(){
  final Link l=processConstructible(Link.class);
  final String parameterKey="String_Node_Str";
  final Parameter parameterValue=createConstructibleInstance(Parameter.class);
  checkSameObject(l,l.addParameter(parameterKey,parameterValue));
  checkMapEntry(l.getParameters(),parameterKey,parameterValue);
}

Fixed version (ground truth):
@Test public void linkTest(){
  final Link l=processConstructible(Link.class);
  final String parameterKey="String_Node_Str";
  final String parameterValue="String_Node_Str";
  checkSameObject(l,l.addParameter(parameterKey,parameterValue));
  checkMapEntry(l.getParameters(),parameterKey,parameterValue);
}