void validateFiles(List sourceFiles){
  ArrayList noOverwrite=new ArrayList();
  ArrayList overwriteReadonly=new ArrayList();
  collectExistingReadonlyFiles(destinationPath,sourceFiles,noOverwrite,overwriteReadonly,POLICY_DEFAULT);
  rejectedFiles=validateEdit(overwriteReadonly);
  rejectedFiles.addAll(noOverwrite);
}

void validateFiles ( List sourceFiles ) { ArrayList noOverwrite = new ArrayList ( ) ; ArrayList overwriteReadonly = new ArrayList ( ) ; collectExistingReadonlyFiles ( destinationPath , sourceFiles , noOverwrite , overwriteReadonly , POLICY_DEFAULT ) ; rejectedFiles = validateEdit ( overwriteReadonly ) ; rejectedFiles . addAll ( noOverwrite ) ; }
validates the given file system objects . the user is prompted to overwrite existing files . existing read - only files are validated with the vcm provider .
