protected void addVolumeStorageSystem(Map<URI,StorageSystem> volumeStorageSystems,Volume volume){
  if (volumeStorageSystems == null) {
    volumeStorageSystems=new HashMap<URI,StorageSystem>();
  }
  StorageSystem volumeStorageSystem=volumeStorageSystems.get(volume.getStorageController());
  if (volumeStorageSystem == null) {
    volumeStorageSystem=_dbClient.queryObject(StorageSystem.class,volume.getStorageController());
    volumeStorageSystems.put(volumeStorageSystem.getId(),volumeStorageSystem);
  }
}

protected void addVolumeStorageSystem ( Map < URI , StorageSystem > volumeStorageSystems , Volume volume ) { if ( volumeStorageSystems == null ) { volumeStorageSystems = new HashMap < URI , StorageSystem > ( ) ; } StorageSystem volumeStorageSystem = volumeStorageSystems . get ( volume . getStorageController ( ) ) ; if ( volumeStorageSystem == null ) { volumeStorageSystem = _dbClient . queryObject ( StorageSystem . class , volume . getStorageController ( ) ) ; volumeStorageSystems . put ( volumeStorageSystem . getId ( ) , volumeStorageSystem ) ; } }
adds a volume to storagesystem mapping entry in the provided map .
