<commit_before>package org.ovirt.engine.core.common.businessentities.storage;

public class CinderDisk extends DiskImage {

    CinderConnectionInfo cinderConnectionInfo;

    @Override
    public DiskStorageType getDiskStorageType() {
        return DiskStorageType.CINDER;
    }

    @Override
    public boolean isAllowSnapshot() {
        return true;
    }

    public CinderConnectionInfo getCinderConnectionInfo() {
        return cinderConnectionInfo;
    }

    public void setCinderConnectionInfo(CinderConnectionInfo cinderConnectionInfo) {
        this.cinderConnectionInfo = cinderConnectionInfo;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!super.equals(o)) return false;

        CinderDisk that = (CinderDisk) o;

        return !(cinderConnectionInfo != null ? !cinderConnectionInfo.equals(that.cinderConnectionInfo) : that.cinderConnectionInfo != null);
    }<commit_msg>core: CinderDisk - disable snapshots for shareable<commit_after>package org.ovirt.engine.core.common.businessentities.storage;

public class CinderDisk extends DiskImage {

    CinderConnectionInfo cinderConnectionInfo;

    @Override
    public DiskStorageType getDiskStorageType() {
        return DiskStorageType.CINDER;
    }

    public CinderConnectionInfo getCinderConnectionInfo() {
        return cinderConnectionInfo;
    }

    public void setCinderConnectionInfo(CinderConnectionInfo cinderConnectionInfo) {
        this.cinderConnectionInfo = cinderConnectionInfo;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!super.equals(o)) return false;

        CinderDisk that = (CinderDisk) o;

        return !(cinderConnectionInfo != null ? !cinderConnectionInfo.equals(that.cinderConnectionInfo) : that.cinderConnectionInfo != null);
    }
{'fraction_non_alphanumeric': 0.08625877632898696, 'fraction_numerical': 0.0, 'mean_word_length': 3.4831460674157304, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7397695', 'n_tokens_mistral': 552, 'n_tokens_neox': 535, 'n_words': 125}