private List<FileDescriptor> prepareFileDescriptors(List<FileShare> filesystems,VirtualPoolCapabilityValuesWrapper cosCapabilities,String suggestedId){
  final List<FileDescriptor> fileDescriptors=new ArrayList<FileDescriptor>();
  for (  FileShare filesystem : filesystems) {
    FileDescriptor desc=new FileDescriptor(FileDescriptor.Type.FILE_DATA,filesystem.getStorageDevice(),filesystem.getId(),filesystem.getPool(),filesystem.getCapacity(),cosCapabilities,null,suggestedId);
    fileDescriptors.add(desc);
  }
  return fileDescriptors;
}

private List < FileDescriptor > prepareFileDescriptors ( List < FileShare > filesystems , VirtualPoolCapabilityValuesWrapper cosCapabilities , String suggestedId ) { final List < FileDescriptor > fileDescriptors = new ArrayList < FileDescriptor > ( ) ; for ( FileShare filesystem : filesystems ) { FileDescriptor desc = new FileDescriptor ( FileDescriptor . Type . FILE_DATA , filesystem . getStorageDevice ( ) , filesystem . getId ( ) , filesystem . getPool ( ) , filesystem . getCapacity ( ) , cosCapabilities , null , suggestedId ) ; fileDescriptors . add ( desc ) ; } return fileDescriptors ; }
prepare the file descriptors
