cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/main/java/org/cloudbus/cloudsim/datacenters/DatacenterSimple.java
private int deleteFileFromStorage(final String fileName) {
        int msg = DataCloudTags.FILE_DELETE_ERROR;

        for (final FileStorage storage : getStorageList()) {
            storage.deleteFile(fileName);
            msg = DataCloudTags.FILE_DELETE_SUCCESSFUL;
        }

        return msg;
    }
/**
     * Deletes the file from the storage. Also, check whether it is possible to
     * delete the file from the storage.
     *
     * @param fileName the name of the file to be deleted
     * @return the tag denoting the status of the operation, either
     * {@link DataCloudTags#FILE_DELETE_ERROR} or
     * {@link DataCloudTags#FILE_DELETE_SUCCESSFUL}
     */
Deletes the file from the storage. Also, check whether it is possible to
delete the file from the storage.

@param fileName the name of the file to be deleted
@return the tag denoting the status of the operation, either
DataCloudTags#FILE_DELETE_ERROR or
DataCloudTags#FILE_DELETE_SUCCESSFUL
Deletes the file from the storage . Also check whether it is possible to delete the file from the storage . @param fileName the name of the file to be deleted @return the tag denoting the status of the operation either DataCloudTags#FILE_DELETE_ERROR or DataCloudTags#FILE_DELETE_SUCCESSFUL
private int deleteFileFromStorage(final String fileName) {
        int msg = DataCloudTags.FILE_DELETE_ERROR;
        for (final FileStorage storage : getStorageList()) {
            storage.deleteFile(fileName);
            msg = DataCloudTags.FILE_DELETE_SUCCESSFUL;
        }
        return msg;
    }
private int deleteFileFromStorage ( final String fileName ) { int msg = DataCloudTags . FILE_DELETE_ERROR ; for ( final FileStorage storage : getStorageList ( ) ) { storage . deleteFile ( fileName ) ; msg = DataCloudTags . FILE_DELETE_SUCCESSFUL ; } return msg ; }
Deletes the file from the storage.
Deletes the file from the storage .