private void clearIssueReferences(String launchId){
  List<FailReferenceResource> issues=issuesRepository.findAllLaunchIssues(launchId);
  issuesRepository.delete(issues);
}

private void clearIssueReferences ( String launchId ) { List < FailReferenceResource > issues = issuesRepository . findAllLaunchIssues ( launchId ) ; issuesRepository . delete ( issues ) ; }
clear failreference collections by specified launch id
