package de.jeha.s3pt;

/**
 * @author jenshadlich@googlemail.com
 */
public enum Operation {

    CLEAR_BUCKET(false),
    CREATE_BUCKET(false),
    CREATE_KEY_FILE(false),
    RANDOM_READ(true),
    RANDOM_READ_METADATA(true),
    UPLOAD_AND_READ(true),
    UPLOAD(true);

    private final boolean multiThreaded;

    private Operation(boolean multiThreaded) {
        this.multiThreaded = multiThreaded;
    }

    public boolean isMultiThreaded() {
        return multiThreaded;
    }

}

package de.jeha.s3pt;

/**
 * @author jenshadlich@googlemail.com
 */
public enum Operation {

    CLEAR_BUCKET(false),
    CREATE_BUCKET(false),
    CREATE_KEY_FILE(false),
    RANDOM_READ(true),
    RANDOM_READ_METADATA(true),
    UPLOAD_AND_READ(true),
    UPLOAD(true);

    private final boolean multiThreaded;

    Operation(boolean multiThreaded) {
        this.multiThreaded = multiThreaded;
    }

    public boolean isMultiThreaded() {
        return multiThreaded;
    }

}

remove unnecessary private modifier