use of com.sun.istack.Nullable in project ddf by codice.
the class RemoteDeleteOperations method performRemoteDelete.
@Nullable
public DeleteResponse performRemoteDelete(DeleteRequest deleteRequest, @Nullable DeleteResponse deleteResponse) {
if (!opsCatStoreSupport.isCatalogStoreRequest(deleteRequest)) {
return deleteResponse;
}
DeleteResponse remoteDeleteResponse = doRemoteDelete(deleteRequest);
if (deleteResponse == null) {
deleteResponse = remoteDeleteResponse;
deleteResponse = injectAttributes(deleteResponse);
} else {
deleteResponse.getProperties().putAll(remoteDeleteResponse.getProperties());
deleteResponse.getProcessingErrors().addAll(remoteDeleteResponse.getProcessingErrors());
}
return deleteResponse;
}
Aggregations